create_session
Creates a detached session whose first pane runs the configured process. Start a pane’s configured process; accepts no command payload.
All Java tools · JSON · Source
Arguments
heightoptional · integer- Initial height; supply with width. Defaults to -1.
Default:
-1. session_nameoptional · string- A literal session name.
start_directoryoptional · string- An absolute literal start directory.
widthoptional · integer- Initial width; supply with height. Defaults to -1.
Default:
-1. window_nameoptional · string- A literal first-window name.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "height": { "default": -1, "description": "Initial height; supply with width. Defaults to -1.", "type": "integer" }, "session_name": { "description": "A literal session name.", "type": "string" }, "start_directory": { "description": "An absolute literal start directory.", "type": "string" }, "width": { "default": -1, "description": "Initial width; supply with height. Defaults to -1.", "type": "integer" }, "window_name": { "description": "A literal first-window name.", "type": "string" } }, "required": [], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "attached": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" }, "windows": { "type": "integer" } }, "required": [ "id", "name", "attached", "windows" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Create a session"}