create_window
Start a pane’s configured process; accepts no command payload. Creates a window whose first pane runs the configured process.
All Go tools · JSON · Source
Arguments
attachoptional · boolean- make the new window active
directionoptional · string- before or after
session_idrequired · string- the session id, such as $1
start_directoryoptional · string- an absolute literal start directory
window_nameoptional · string- a literal window name
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
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"}Tool annotations
{ "destructiveHint": true, "openWorldHint": true, "title": "Create a window"}