List Tools
Function Calling with MCP
List Tools
Lists all tools available for a specific remote MCP server in various AI model formats.
This eliminates the need for manual MCP code implementation and format conversion. Under the hood, Klavis instantiates an MCP client and establishes a connection with the remote MCP server to retrieve available tools.
POST
List Tools
Authorizations
Your Klavis AI API key.
Body
application/json
The full URL for connecting to the MCP server
The connection type to use for the MCP server. Default is STREAMABLE_HTTP.
Available options:
SSE, StreamableHttp The format to return tools in. Default is MCP Native format for maximum compatibility.
Available options:
openai, anthropic, gemini, mcp_native Optional HTTP headers to include when connecting to the server
Response
Successful Response
