respawn_pane
- respawn_pane( killExistingProcess?: boolean, paneId?: string | null, startDirectory?: string | null, )
-
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 request method
tools/callSendrespawn_paneas the tool name, with the arguments below.- Wraps
LibTmux.Pane.RespawnAsyncThe library call this tool makes:src/LibTmux.Mcp/Tools/CapabilityTools.cs:1070.
Arguments
-
killExistingProcess? =false(boolean)Kill the existing pane process first.
-
paneId? =null(string | null)A pane id. Omit for this server’s own pane, or else the one the first session shows.
-
startDirectory? =null(string | null)The literal starting directory. Omit for the directory the pane started in before.
No other arguments are accepted.
Result
Returns object
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Respawn pane"
Capability
- Toolset
- Execute Start or drive pane processes, or store state that can control later execution.
- Process reach
configured-process- tmux effects
changedeleteobserve
Every C# tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"killExistingProcess": {"default": false,"description": "Kill the existing pane process first.","type": "boolean"},"paneId": {"default": null,"description": "A pane id. Omit for this server's own pane, or else the one the first session shows.","type": ["string","null"]},"startDirectory": {"default": null,"description": "The literal starting directory. Omit for the directory the pane started in before.","type": ["string","null"]}},"type": "object"}Output schema
{"properties": {"changed": {"type": "string"},"paneId": {"default": null,"type": ["string","null"]},"sessionId": {"default": null,"type": ["string","null"]},"windowId": {"default": null,"type": ["string","null"]}},"required": ["changed"],"type": "object"}