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

kill_window

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

All C++ tools · JSON · Source

Arguments

windowId required · string
Stable window ID.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"windowId": {
"description": "Stable window ID.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"windowId"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Kill a tmux window"
}
Esc

Type to search.