create_window
-
Start a pane’s configured process; accepts no command payload. Create a window in a tmux session and return its ids.
- MCP request method
tools/callSendcreate_windowas the tool name, with the arguments below.- Wraps
LibTmux.Session.CreateWindowAsyncThe library call this tool makes:src/LibTmux.Mcp/Tools/WriteTools.Layout.cs:80.
Arguments
-
The window name. Omit and tmux names it after the program it runs.
-
session? =null(string | null)A session id or name. Omit for the first session.
-
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"Create 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": {"name": {"default": null,"description": "The window name. Omit and tmux names it after the program it runs.","type": ["string","null"]},"session": {"default": null,"description": "A session id or name. Omit for the first session.","type": ["string","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"}