# kill_pane

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

> Delete tmux state; accepts no command payload. Close a pane and the process in it. Refuses the pane this server runs in and every pane a person is watching; force confirms only this server's exact caller pane.

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. Close a pane and the process in it. Refuses the pane this server runs in and every pane a person is watching; force confirms only this server’s exact caller pane.

[All TypeScript tools](../) · [JSON](../kill_pane.json) · [Source](https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/mcp/src/tools/lifecycle.ts#L323)

## Arguments

* `force` optional · boolean

  Allow this to target the pane this server itself was called from, which is otherwise refused. It does not override the refusal to touch a pane a person is watching.

* `paneId` required · string

  Stable pane id, e.g. %1.

## Schemas

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