close_session
Terminate a named terminal session and optionally close its tab to clean up unused sessions.
Instructions
Close a named terminal session and optionally close its tab. Use to clean up sessions that are no longer needed. Pass close_tab: true to also close the terminal tab.
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_name": "<session_name>"
},
"name": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| close_tab | No | If true, also closes the terminal tab (default: false) | |
| session_name | Yes | Name of the session to close |