create_window
- create_window( attach?: boolean, direction?: "before" | "after", session_id: string, start_directory?: string, window_name?: string, )
-
Start a pane’s configured process; accepts no command payload. Creates a window whose first pane runs the configured process.
- MCP request method
tools/callSendcreate_windowas the tool name, with the arguments below.- Wraps
tmux.Session.NewWindowThe library call this tool makes:mcp/dependencies.go:58.
Arguments
-
make the new window active
-
direction? ("before" | "after")before or after
-
the session id, such as $1
-
an absolute literal start directory
-
a literal window name
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Create a window"
Capability
- Toolset
- Execute Start or drive pane processes, or store state that can control later execution.
- Process reach
configured-process- tmux effects
observechange
Every Go 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": {"attach": {"description": "make the new window active","type": "boolean"},"direction": {"description": "before or after","enum": ["before","after"],"type": "string"},"session_id": {"description": "the session id, such as $1","type": "string"},"start_directory": {"description": "an absolute literal start directory","type": "string"},"window_name": {"description": "a literal window name","type": "string"}},"required": ["session_id"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"paneId": {"type": "string"},"windowId": {"type": "string"}},"required": ["windowId","paneId"],"type": "object"}