grokbot_interrupt
Stop a running cloud agent by interrupting its current execution and return whether an active run existed. Use agent_id to target the run and optionally include a reason.
Instructions
Interrupt the agent's current run. Returns had_active_run.
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": {
"agent_id": "<agent_id>"
},
"name": "grokbot_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | user | |
| agent_id | Yes | ||
| session_id | No | Chat session id; default empty MAIN transcript |