# kill_window

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

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

MCP is in development

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

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

[All Swift tools](../) · [JSON](../kill_window.json) · [Source](https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmuxMCP/ToolOperation.swift#L50)

## Arguments

* `force` optional · boolean

  Caller-controlled force.

* `windowId` required · string

  Caller-controlled windowId.

## Schemas

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