stop_session
Stop a running session gracefully by sending TERM, then force KILL after 5 seconds if it does not exit. Use it to end detachable process sessions.
Instructions
Stop a running session gracefully with TERM, then KILL after 5 seconds if needed.
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": {
"id": "<id>"
},
"name": "stop_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| stderr | Yes | ||
| stdout | Yes |