Stop a terminal session
session_stopTerminate a session and every process running in it, then return its final output lines. Use this when the whole session should end permanently rather than interrupting a single command.
Instructions
Kill a session and every process in it, and return its last lines. Whatever was running there stops and can't be resumed; to interrupt one command but keep the session, use session_send with key C-c.
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": {
"name": "<name>"
},
"name": "session_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | session name |