call_function
Invoke a named callable with a JSON object of keyword arguments to execute Python code in a persistent IPython environment, preserving state across calls.
Instructions
Call a live callable by name with a JSON object of keyword arguments.
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": {
"name": "<name>",
"arguments": "<arguments>"
},
"name": "call_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| arguments | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | Yes | ||
| error | No | ||
| result | No | ||
| runtime | No | ||
| truncated | No | ||
| name_truncated | No |