stop_agent
Stop an active agent session by providing its session ID and harness type, terminating the operation immediately.
Instructions
Stop / abort a running agent session.
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": {
"sessionId": "<sessionId>"
},
"name": "stop_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| harness | No | Harness type | |
| sessionId | Yes | Session ID to stop |