tmux_split_window
Split a tmux pane vertically or horizontally to create a new pane, specifying size and optionally running a command.
Instructions
Split a pane to create a new pane.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tmux_split_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Tmux target (e.g. session:window.pane, session:window, or session). See tmux docs for target syntax. Defaults to current pane. | |
| command | No | Shell command to run in the new pane. | |
| percent | No | Size of new pane as percentage. | |
| horizontal | No | Split horizontally (side by side). Default: vertical (top/bottom). |