terminal_terminate
Terminate a running terminal session's process group idempotently by sending TERM, allowing a grace period, issuing KILL, and confirming exit.
Instructions
Idempotently terminate the session process group: TERM, grace, KILL, confirm exit.
Final output and status remain readable for the configured retention interval.
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": "terminal_terminate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grace_ms | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||