split_pane
Split a tmux pane horizontally or vertically. Specify target, direction, size, command, and working directory to create new panes.
Instructions
Split a tmux pane horizontally or vertically. 'horizontal' = left/right panes side by side. 'vertical' = top/bottom panes stacked. Target format: 'session:window.pane' or 'session:window'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "split_pane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the new pane. | |
| size | No | Size of the new pane as a percentage (e.g. 50). | |
| target | Yes | Target pane or window to split: 'session:window.pane' | |
| command | No | Shell command to run in the new pane. WARNING: executes in your shell. | |
| direction | No | 'horizontal' splits left/right, 'vertical' splits top/bottom (default: horizontal) |