iterm2_split_pane
Split an iTerm2 terminal pane horizontally or vertically to create a new pane, returning the new pane's session ID for further control.
Instructions
Split an iTerm2 pane horizontally or vertically, creating a new pane. Returns the session ID of the newly created pane.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vertical | No | If true, split vertically (side by side). If false (default), split horizontally (top/bottom). | |
| session_id | Yes | The pane ID - use shorthand like 't5p2' (tab 5, pane 2) or 'w1t5p2'. Numbers are 1-based. |