arcwright_dispatch
Assign a detailed implementation task to an AI agent, which edits the project and returns status, summary, changed files, and a report.
Instructions
Assign a new implementation task to an agent (Antigravity, or a local model with its id prefix). You write the spec (goal, context, exact files, steps, acceptance checks); it is saved to .bridge/tasks/ and the agent implements it in the project, then writes a report to .bridge/reports/. Returns status, Antigravity's summary, the list of changed files and the report.
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": {
"title": "<title>",
"spec": "<spec>"
},
"name": "arcwright_dispatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution mode: accept-edits (edit files, the default), auto, or plan (read-only). | |
| spec | Yes | Full task spec in Markdown. Be specific: goal, context, files to touch, step-by-step plan, constraints, acceptance checks. | |
| agent | No | Role name of the agent you are assigning, as a specialist would be called on a team, e.g. "Front-end engineer", "Technical writer", "Test engineer". Shown to the user on the agent in the Live Console and given to Antigravity as its role. Use distinct names when agents run in parallel. | |
| model | No | Model id from arcwright_models, chosen for the job: an Antigravity id as is (e.g. a high-reasoning model for complex code, a fast one for docs), or a local model with its server prefix (ollama:<name>, lmstudio:<name>...) for small precise tasks. Must be one of the models the user allows, when they limited them. Required for dispatch unless the user set one in the Live Console; a follow-up reuses the task's model when omitted. The user sees it on the agent. | |
| title | Yes | Short task title (becomes part of the task id). | |
| checks | No | Commands that prove the task works (tests, build, lint), run in the project folder; exit code 0 means passed. E.g. ["npm test"] or [{"name": "tests", "command": "npm test", "timeout_seconds": 300}]. When the user turned on automatic checks in the console, Arcwright runs them as soon as the agent finishes and sends failures straight back to the agent; otherwise you run them during review. Up to 8. On a follow-up, replaces the task's checks. | |
| auto_fix | No | How many times in a row Arcwright sends failed checks back to the agent before you review (0-3, default 1). | |
| depends_on | No | Ids of earlier tasks this one builds on (e.g. ["1", "002-api"]). Until they are all approved with arcwright_review, the task waits ("queued"); Arcwright then starts it on its own. Lets you dispatch a whole plan at once, in order. | |
| project_dir | No | Absolute path of the project folder the agents work in. Defaults to the current working directory. | |
| ignore_limit | No | Use a model even though it reached its usage limit earlier. Only when the user says its limit has reset. | |
| model_reason | No | One short sentence on why this model fits this task (e.g. "Small, precise change in one file: the local 9B model is enough"). Shown to the user on the agent. | |
| wait_seconds | No | How long this call blocks waiting for the result (0-1800, default 300). If it is still running afterwards, call arcwright_wait. | |
| timeout_minutes | No | Hard time limit for the run (1-240 minutes, default 30). | |
| skip_permissions | No | Let the agent run terminal commands without asking (Antigravity agents: every tool request is approved). Only when the user allowed it. |