Execute MCP Tool
lyzr_execute_mcp_toolInvoke any tool from a registered MCP server by providing the server ID, tool name, and arguments. Enables dynamic execution of MCP capabilities.
Instructions
Invoke a tool exposed by a registered MCP server.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_id": "<server_id>",
"tool_name": "<tool_name>"
},
"name": "lyzr_execute_mcp_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | Arguments to pass to the tool | |
| server_id | Yes | MCP server id | |
| tool_name | Yes | Name of the tool to invoke |