create_window
- create_window( attach?: boolean, direction?: string, session_id: string, start_directory?: string, window_name?: string, )
-
Creates a window whose first pane runs the configured process. Start a pane’s configured process; accepts no command payload.
- MCP request method
tools/callSendcreate_windowas the tool name, with the arguments below.- Wraps
io.github.libtmux.Session.Session.newWindowThe library call this tool makes:libtmux-mcp/src/main/java/io/github/libtmux/mcp/Operations.java:334.
Arguments
-
Make the new window active. Defaults to false.
-
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 Java 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": {"default": false,"description": "Make the new window active. Defaults to false.","type": "boolean"},"direction": {"description": "before or 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": {"active": {"type": "boolean"},"id": {"type": "string"},"index": {"type": "integer"},"name": {"type": "string"},"panes": {"type": "integer"},"session_id": {"type": "string"},"size": {"type": "string"}},"required": ["id","index","name","session_id","active","panes","size"],"type": "object"}