Calls a tool on a specific remote MCP server, used for function calling. Eliminates the need for manual MCP code implementation. Under the hood, Klavis will instantiates an MCP client and establishes a connection with the remote MCP server to call the tool.
Your Klavis AI API key.
The full URL for connecting to the MCP server
The name of the tool to call
The input parameters for the tool
The connection type to use for the MCP server. Default is STREAMABLE_HTTP.
SSE, StreamableHttp Optional HTTP headers to include when connecting to the server