open_agent
Launches a coding CLI agent in a new terminal tab without changing existing tabs or creating git worktrees.
Instructions
Open a new terminal tab running a coding CLI agent without altering existing tabs or creating git worktrees.
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": {
"agent": "<agent>",
"cwd": "<cwd>"
},
"name": "open_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory for the new tab. | |
| env | No | Optional environment variables for the spawned tab. | |
| args | No | Additional CLI arguments passed through verbatim (model, flags, etc.). | |
| agent | Yes | CLI kind to launch: codex, claude, antigravity, opencode, grok, or custom. | |
| label | No | Human-readable tab title and addressing label (e.g. "codex-worker"). | |
| command | No | Optional binary override (required when agent is "custom"). |