split_pane
Split an iTerm2 session pane horizontally or vertically, with optional profile and command for the new pane.
Instructions
Split an iTerm2 pane horizontally or vertically.
:param session_id: Session UUID to split. Defaults to the active session. :param vertical: If True, split left/right; if False, split top/bottom. :param profile: Name of the iTerm2 profile to use for the new pane. :param command: Optional command to run in the new pane after the split.
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": "split_pane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | ||
| profile | No | ||
| vertical | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |