cm_exec
Run trusted Python with the worker worktree as cwd to process local data and return only the final result, not intermediate tool responses.
Instructions
Run trusted Python; pass the worker worktree as cwd.
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": {
"code": "<code>"
},
"name": "cm_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| code | Yes | ||
| max_chars | No | ||
| timeout_s | No |