Dispatch a worker
create_workerStarts an isolated worker on one verifiable task in its own Git worktree and branch without committing or pushing, enabling parallel work with controlled write paths and supervisor-run acceptance checks.
Instructions
Start a worker on one verifiable piece of work in its own git worktree and branch. It never commits or pushes. task is the whole brief: background, spec, write set, verify command, output format. followup_of continues a finished worker from its branch with its settings. runner: codex (default) or claude.
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": {
"task": "<task>"
},
"name": "create_worker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Repository. Required unless followup_of | |
| goal | No | {objective, token_budget}. Required unless followup_of | |
| task | Yes | ||
| model | No | ||
| title | No | ||
| limits | No | {max_run_ms, max_total_ms} | |
| runner | No | ||
| context | No | {files: [{path}] abs paths to read, contracts: [binding statements]} | |
| sandbox | No | {mode: read-only | workspace-write (default) | danger-full-access, network_access, writable_roots: [abs dirs], allowed_commands: [commands; trailing * = prefix], forbid: [paths or commands]} | |
| session | No | {id, title, note}: one id per batch | |
| workspace | No | {kind: git_worktree (default) | read_only_in_place | scratch | in_place_write, base_ref, setup: {links: [{path, source}], submodules, commands} run first, in_place_authorization, external_outputs: [{path}]} | |
| acceptance | No | {commands, timeout_ms}: shell commands the supervisor runs in the worktree after the worker exits; all must exit 0 | |
| depends_on | No | Tasks that must land first | |
| followup_of | No | ||
| owned_paths | No | Paths it may change; overlap with an active worker is refused. Required unless followup_of | |
| preflight_id | No | Passed preflight id | |
| reasoning_effort | No |