Call Tool
Function Calling with MCP
Call Tool
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.
POST
Call Tool
Documentation Index
Fetch the complete documentation index at: https://www.klavis.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your Klavis AI API key.
Body
application/json
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.
Available options:
SSE, StreamableHttp Optional HTTP headers to include when connecting to the server
