Set Operation Mode
set_modeSwitch between execution, passthrough, or hybrid modes to control how requests are processed, optimizing token usage or enabling debugging.
Instructions
Switch between operation modes:
execution: All requests go through the code executor (default, maximum token savings)
passthrough: Direct tool calls without code execution (for debugging/comparison)
hybrid: Automatic selection based on task complexity
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": {
"mode": "<mode>"
},
"name": "set_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | The operation mode to switch to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previous_mode | Yes | ||
| current_mode | Yes | ||
| message | Yes |