# kill_window

Source: https://libtmux.org/en/rs/latest/mcp/tools/kill_window/

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

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

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

[All Rust tools](../) · [JSON](../kill_window.json) · [Source](https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/tools/control.rs#L207)

## Arguments

* `window` required · string

  The \`@\`-prefixed window id, as \`list\_windows\` reports it.

## Schemas

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