create_tab
Open a new iTerm2 tab in a specified window. Optionally run a command or apply a profile.
Instructions
Create a new tab in a window.
:param window_id: Target window ID. Defaults to the current window. :param command: Optional shell command to run in the new tab's session. :param profile: Name of the iTerm2 profile to use.
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": "create_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | ||
| profile | No | ||
| window_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |