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_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

attach optional · boolean
make the new window active
direction optional · string
before or after
session_id required · string
the session id, such as $1
start_directory optional · string
an absolute literal start directory
window_name optional · 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"
}
Esc

Type to search.