Kill session¶
kill_session¶
kill_sessionKill a tmux session.
- Returns:
Use when you’re done with a workspace and want to clean up. Kills all windows and panes in the session.
Avoid when you only want to close one window — use kill_window.
Side effects: Destroys the session and all its contents. Not reversible.
Example:
{
"tool": "kill_session",
"arguments": {
"session_name": "old-workspace"
}
}
Response (string):
Session killed: old-workspace
Parameters