create_session
-
Start a pane’s configured process; accepts no command payload. Create a detached session with a configured pane process.
- MCP request method
tools/callSendcreate_sessionas the tool name, with the arguments below.- Wraps
Server.newSession(named:startDirectory:windowName:width:height:)The library call this tool makes:Sources/LibTmuxMCP/ToolsCreation.swift:5.
Arguments
-
Caller-controlled height.
- minimum
1
-
Caller-controlled name.
-
Caller-controlled startDirectory.
-
Caller-controlled width.
- minimum
1
-
windowName? (string)Caller-controlled windowName.
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Create session"
Capability
- Toolset
- Execute Start or drive pane processes, or store state that can control later execution.
- Process reach
configured-process- tmux effects
changeobserve
Every Swift 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": "Caller-controlled height.","minimum": 1,"type": "integer"},"name": {"description": "Caller-controlled name.","type": "string"},"startDirectory": {"description": "Caller-controlled startDirectory.","type": "string"},"width": {"description": "Caller-controlled width.","minimum": 1,"type": "integer"},"windowName": {"description": "Caller-controlled windowName.","type": "string"}},"required": ["name"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"createdAt": {"type": "integer"},"id": {"type": "string"},"isAttached": {"type": "boolean"},"name": {"type": "string"},"ref": {"type": "string"},"windowCount": {"type": "integer"}},"required": ["createdAt","id","isAttached","name","ref","windowCount"],"type": "object"}