terminal.tmux_kill
Kill a tmux session by name. First call returns a preview; second call with confirm=true executes the kill. Supports local and SSH targets.
Instructions
Kill any tmux session by tmux session name. Requires two calls: first without confirm to preview, then with confirm=true to execute.
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": "terminal.tmux_kill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | tmux session name, not MCP sessionId | |
| confirm | No | Set to true to confirm the kill. First call without confirm returns a preview; second call with confirm=true executes the kill. | |
| target | No | SSH target. Omit to kill a local tmux session | |
| profile | No | SSH profile name shorthand for target |