kill_agent
Terminate an active AI agent session immediately to halt stuck, runaway, or unsafe operations and broadcast a stop signal to connected clients.
Instructions
Terminate an active AI agent session immediately.
Use this tool when:
An agent is stuck in a loop and not responding
You need to stop an agent from executing a dangerous operation
The user explicitly requests agent termination
A dead-man switch has triggered (no heartbeat in 60s)
This sets the session state to "killed" in the Orbiter backend and broadcasts a stop signal to connected clients. Use with caution: in-progress work may be lost.
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": {
"session_id": "<session_id>"
},
"name": "kill_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason for killing the agent | |
| session_id | Yes | The session UUID of the agent to kill |