split_window
-
Start a pane’s configured process; accepts no command payload. Split a pane and return the NEW pane’s id. Use that id for what you put in it — pane ids stay valid across layout changes, where window names and indexes do not.
- MCP request method
tools/callSendsplit_windowas the tool name, with the arguments below.- Wraps
LibTmux.Pane.SplitAsyncThe library call this tool makes:src/LibTmux.Mcp/Tools/WriteTools.Layout.cs:123.
Arguments
-
direction? ="Below"("Above" | "Below" | "Left" | "Right")Below, Above, Left, or Right.
-
paneId? =null(string | null)The pane to split. Omit for this server’s own pane, or else the one the first session shows.
-
percentage? =null(integer | null)Percentage of the space for the new pane. Omit for half.
- minimum
-2147483648- maximum
2147483647
-
startDirectory? =null(string | null)The literal starting directory. Omit for the MCP server’s own working directory.
No other arguments are accepted.
Result
Returns object
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Split window"
Capability
- Toolset
- Execute Start or drive pane processes, or store state that can control later execution.
- Process reach
configured-process- tmux effects
changeobserve
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": {"direction": {"default": "Below","description": "Below, Above, Left, or Right.","enum": ["Above","Below","Left","Right"],"type": "string"},"paneId": {"default": null,"description": "The pane to split. Omit for this server's own pane, or else the one the first session shows.","type": ["string","null"]},"percentage": {"default": null,"description": "Percentage of the space for the new pane. Omit for half.","maximum": 2147483647,"minimum": -2147483648,"type": ["integer","null"]},"startDirectory": {"default": null,"description": "The literal starting directory. Omit for the MCP server's own working directory.","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"}