submit_task
Delegate research, code review, implementation or a second opinion to a local AI agent: Antigravity (antigravity), Codex (codex), OpenCode (opencode), Claude Code (claude_code), or an agent_id from list_agents.
Instructions
Delegate research, code review, implementation or a second opinion to a local AI agent: Antigravity (antigravity), Codex (codex), OpenCode (opencode), Claude Code (claude_code), or an agent_id from list_agents. Делегирование: исследование, ревью, реализация, второе мнение. Use for an actual request to have another agent perform work. Answer general explanations and advice directly; mentioning an agent or a second opinion alone does not request delegation. Shuttle manages local servers automatically. Inspect get_agent_info before selecting an enforceable tool policy; research including web access depends on that agent's capabilities. For Antigravity web research choose web_research when advertised; read_only allows local files only. Preserve the user's explicit agent and model. Use submit_task for long work. Returns a task ticket immediately; use check_task/wait_task, then get_result. Reuse request_id when retrying submission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Exact remote model ID explicitly requested by the user; otherwise omit. Inspect get_agent_info for live models. | |
| prompt | Yes | Complete delegated task, supplied context, constraints and requested output. | |
| agent_id | Yes | Target: codex, antigravity, opencode, claude_code, or a configured agent_id from list_agents. | |
| workspace | No | Existing absolute directory on the local host for the delegated task; otherwise use the server's configured workspace. | |
| request_id | No | Stable UUID used to deduplicate submission retries. | |
| tool_policy | No | Least sufficient supported policy: no_tools, read_only, workspace_write, web_research (Antigravity native web tools only), or full_access (unrestricted tools; requires user authorization). Antigravity read_only cannot access the web. Inspect get_agent_info first. | |
| workspace_mode | No | shared uses the supplied workspace; isolated creates a detached Git worktree for supported edit tasks. Inspect workspace_modes via get_agent_info and review changes before apply_task_changes. | shared |
| reasoning_effort | No | User-requested remote reasoning effort; otherwise omit. Inspect supported values using get_agent_info. |