Skip to main content

McpRequest

A JSON-RPC style MCP call.

methodstringrequired

MCP method to invoke. tools/list enumerates the available tools; tools/call executes one. Unknown methods return an error object rather than a non-200 status.

Example: tools/list
paramsobject | nullnullable

Method arguments. Shape depends on method.

McpRequest
{
"method": "tools/list",
"params": "Unknown Type: object,null"
}