MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

kill_window

kill_window( confirm_self?: boolean, window_id: string, )
tool [source]

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

MCP request method
tools/call Send kill_window as the tool name, with the arguments below.

Arguments#

No other arguments are accepted.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Kill a window"

Protocol data#

Use the complete advertised contract for validation and client integration.

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"
}
Esc

Type to search.

Reference previewOpen reference