Execute Tool
lyzr_execute_toolExecute tools directly by name with arguments and configurations, bypassing chat turns for targeted operations.
Instructions
Execute a named tool (with optional tool configs) directly, without a full chat turn.
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": {
"tool_name": "<tool_name>"
},
"name": "lyzr_execute_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Optional agent id context for the tool call | |
| trace_id | No | Optional trace id | |
| arguments | No | Arguments to pass to the tool | |
| tool_name | Yes | The tool's name to execute | |
| tool_configs | No | Tool configuration objects |