create_task
Creates a Gemini task in an isolated git worktree and branch from repo HEAD, with seed acceptance tests and setup command, so Gemini can implement while Claude reviews before merge.
Instructions
Create a Gemini task in an isolated git worktree/branch (gemini/) from the repo's HEAD. seed_files {path: content} are your acceptance tests: committed first and protected from Gemini. copy_untracked (e.g. ['.env']) are copied but never committed. setup_command runs once (e.g. venv + deps).
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": {
"repo_path": "<repo_path>",
"title": "<title>",
"spec": "<spec>",
"acceptance_criteria": "<acceptance_criteria>"
},
"name": "create_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| title | Yes | ||
| repo_path | Yes | ||
| seed_files | No | ||
| context_files | No | ||
| setup_command | No | ||
| copy_untracked | No | ||
| protected_paths | No | ||
| max_outer_rounds | No | ||
| acceptance_criteria | Yes | ||
| max_inner_iterations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |