Close Terminal Session
close_terminal_sessionStop a running terminal session by name, terminating its shell process and removing it from active sessions. Provides clear error if session doesn't exist.
Instructions
Terminates a session's shell process and forgets it.
Args:
session (string): session name to close
Errors with "No open session named ..." if it's already gone.
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": "<session>"
},
"name": "close_terminal_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session name to close. |