Kill a tmux session
kill_sessionTerminate a tmux session owned by tmux-mcp while protecting agent and container panes; use force only to end a foreign session.
Instructions
Kill a session. Only sessions owned by tmux-mcp can be killed without force; the pane hosting this container and agent panes are always protected.
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": "kill_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Allow killing a foreign session | |
| session | Yes | Session name |