execute_tool
Execute a saved tool by passing its ID and input object. Run self-written tools inside Riza's secure, isolated code interpreter.
Instructions
Executes a tool. This tool will be used to execute a self-written tool.
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_id": "<tool_id>",
"input": "<input>"
},
"name": "execute_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input to the tool. This must match the input schema of the tool. | |
| tool_id | Yes | The ID of the tool you are executing. |