Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

kill_window

Delete tmux state; accepts no command payload. Deletes one window and every pane in it.

All Go tools · JSON · Source

Arguments

confirm_self optional · boolean
permit ending the pane this MCP process runs in
window_id required · string
the window id, such as @1

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"confirm_self": {
"description": "permit ending the pane this MCP process runs in",
"type": "boolean"
},
"window_id": {
"description": "the window id, such as @1",
"type": "string"
}
},
"required": [
"window_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"killed": {
"type": "string"
},
"sessionEnded": {
"type": "boolean"
}
},
"required": [
"killed",
"sessionEnded"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Kill a window"
}
Esc

Type to search.