# kill_window

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

> Deletes one window and every pane in 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.

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

[All Java tools](../) · [JSON](../kill_window.json) · [Source](https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-mcp/src/main/java/io/github/libtmux/mcp/Catalog.java#L911)

## 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.
