MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

create_session

Start a pane’s configured process; accepts no command payload. Create a detached session with a configured pane process.

All Swift tools · JSON · Source

Arguments

height optional · integer
Caller-controlled height.
name required · string
Caller-controlled name.
startDirectory optional · string
Caller-controlled startDirectory.
width optional · integer
Caller-controlled width.
windowName optional · string
Caller-controlled windowName.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

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"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Create session"
}
Esc

Type to search.