create_session
- create_session( height?: integer, session_name?: string, start_directory?: string, width?: integer, window_name?: string, )
-
Start a pane’s configured process; accepts no command payload. Creates a detached session whose first pane runs the configured process.
- MCP request method
tools/callSendcreate_sessionas the tool name, with the arguments below.
Arguments
-
initial height; supply with width
-
a literal session name
-
an absolute literal start directory
-
initial width; supply with height
-
a literal first-window name
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Create a session"
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": {"height": {"description": "initial height; supply with width","type": "integer"},"session_name": {"description": "a literal session name","type": "string"},"start_directory": {"description": "an absolute literal start directory","type": "string"},"width": {"description": "initial width; supply with height","type": "integer"},"window_name": {"description": "a literal first-window name","type": "string"}},"type": "object"}Output schema
{"additionalProperties": false,"properties": {"sessionId": {"type": "string"},"sessionName": {"type": "string"}},"required": ["sessionId","sessionName"],"type": "object"}