# respawn_pane

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

> Start a pane's configured process; accepts no command payload. Only restarts a pane whose command has ALREADY EXITED. killExistingProcess overrides that and kills what is running first — an editor holding unsaved changes, a build part way through. It reruns the command the pane was created with rather than running something new.

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. Only restarts a pane whose command has ALREADY EXITED. killExistingProcess overrides that and kills what is running first — an editor holding unsaved changes, a build part way through. It reruns the command the pane was created with rather than running something new.

[All .NET tools](../) · [JSON](../respawn_pane.json) · [Source](https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Mcp/Policy/CapabilityModel.cs#L595)

## Arguments

* `killExistingProcess` optional · boolean

  Kill the existing pane process first.

  Default: `false`.

* `paneId` optional · string | null

  A pane id. Omit for the active pane.

  Default: `null`.

* `startDirectory` optional · string | null

  The literal starting directory.

  Default: `null`.

## Schemas

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