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

split_window

Creates a pane whose configured process starts after the split. Start a pane’s configured process; accepts no command payload.

All Java tools · JSON · Source

Arguments

direction optional · string
below, above, left or right.
pane_id required · string
The pane to act on, such as %1. Every listing tool returns these.
percent optional · integer
Share of the split occupied by the new pane. Defaults to 50.

Default: 50.

start_directory optional · string
An absolute literal start directory.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"direction": {
"description": "below, above, left or right.",
"type": "string"
},
"pane_id": {
"description": "The pane to act on, such as %1. Every listing tool returns these.",
"type": "string"
},
"percent": {
"default": 50,
"description": "Share of the split occupied by the new pane. Defaults to 50.",
"type": "integer"
},
"start_directory": {
"description": "An absolute literal start directory.",
"type": "string"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"active": {
"type": "boolean"
},
"command": {
"type": "string"
},
"id": {
"type": "string"
},
"index": {
"type": "integer"
},
"path": {
"type": "string"
},
"session_id": {
"type": "string"
},
"size": {
"type": "string"
},
"title": {
"type": "string"
},
"window_id": {
"type": "string"
}
},
"required": [
"id",
"index",
"window_id",
"session_id",
"active",
"command",
"path",
"title",
"size"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Split a window"
}
Esc

Type to search.