View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/mcp_use/connectors/base.py
BaseConnector
method
init
Initialize base connector with common attributes.ParametersSignatureCallback functionCallback functionParameter valueCallback functionMiddleware instance
method
call_tool
Call an MCP tool with automatic reconnection handling.ParametersReturnsThe name of the tool to call.The arguments to pass to the tool.timeout seconds when calling tool
SignatureThe result of the tool call.
property
prompts
Get the list of available prompts... deprecated::
This property is deprecated because it may return stale data when the server
sends list change notifications. Use `await list_prompts()’ instead to ensure
you always get the latest data.ReturnsSignature
property
resources
Get the list of available resources... deprecated::
This property is deprecated because it may return stale data when the server
sends list change notifications. Use await list_resources()
instead to ensure
you always get the latest data.ReturnsSignature