execute
Run custom Python scripts with a run(_ctx) entry point; stdout prints are returned as the response.
Instructions
Raw Python passthrough. The script must define def run(_ctx): as entry point.
Use print() for any data to return; stdout becomes the response message.
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": {
"script": "<script>"
},
"name": "execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes |