# kill_pane

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

> Kill a pane. Killing a window's last pane closes the window. 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 pane. Killing a window’s last pane closes the window. Delete tmux state; accepts no command payload.

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

## Arguments

* `pane` required · string

  The \`%\`-prefixed pane id, as \`list\_panes\` reports it.

## Schemas

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