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

split_window

Create a configured-process pane; path data is literalized before tmux expansion. Start a pane’s configured process; accepts no command payload.

All C++ tools · JSON · Source

Arguments

direction optional · string
vertical or horizontal.
paneId required · string
Stable pane to split.
startDirectory optional · string
Literal pane start directory.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"direction": {
"description": "vertical or horizontal.",
"maxLength": 16,
"type": "string"
},
"paneId": {
"description": "Stable pane to split.",
"maxLength": 512,
"type": "string"
},
"startDirectory": {
"description": "Literal pane start directory.",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"paneId"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"changed": {
"type": "boolean"
},
"pane_id": {
"pattern": "^%[0-9]+$",
"type": "string"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Split a tmux window"
}
Esc

Type to search.