Skip to main content

call_tool

Method
This is a method of the MCPToolRunner class in the mcp module.
Call an MCP tool and wait for the result.

Signature

Parameters

Any
required
No description available.
Any
required
No description available.

Returns

Any
The result of the operation.

Uses

  • get_telemetry
  • is_set
  • wait
  • telemetry.track_tool_usage
  • time.time
  • queue.Queue
  • put
  • logging.debug

Source

View on GitHub

praisonaiagents/mcp/mcp.py at line 175

Tools Concept

Create Custom Tools

Tool Development