# respawn_pane

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

> Start a pane's configured process; accepts no command payload. Restart a pane's command in place, keeping the pane and its id. Use to recover a pane whose process died, rather than killing and re-splitting.

MCP is in development

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

Start a pane’s configured process; accepts no command payload. Restart a pane’s command in place, keeping the pane and its id. Use to recover a pane whose process died, rather than killing and re-splitting.

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

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

* `killFirst` optional · boolean

  Replace a still-running process. Default false.

* `paneId` required · string

  Stable pane id, e.g. %1.

* `startDirectory` optional · string

  Working directory for the restarted command. Defaults to the pane's.

## Schemas

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