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

kill_window

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

All Java tools · JSON · Source

Arguments

confirm_self optional · boolean
Permit ending the pane this MCP process runs in. Defaults to false.

Default: false.

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": {
"default": false,
"description": "Permit ending the pane this MCP process runs in. Defaults to false.",
"type": "boolean"
},
"window_id": {
"description": "The window ID, such as @1.",
"type": "string"
}
},
"required": [
"window_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"kind",
"id"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Kill a window"
}
Esc

Type to search.