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( window: string, )
tool [source]

Kill a window, closing it in every session that links it. Delete tmux state; accepts no command payload.

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

  • id (string) #

    The id of what was destroyed.

Annotations#

destructiveHint
true
idempotentHint
true
openWorldHint
false
readOnlyHint
false
title
"Kill Window"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"window": {
"description": "The `@`-prefixed window id, as `list_windows` reports it.",
"type": "string"
}
},
"required": [
"window"
],
"type": "object"
}
Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"description": "The id of what was destroyed.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference