dispatch
Send a task to one specialist agent with configurable backend, model, workspace, and async execution.
Instructions
Send a task to one specialist. Prefer chat_send for natural language so the orchestrator auto-routes (including round-table debate). Cursor local backends can edit files only inside the write allowlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Workspace path for local Cursor agents. Must be inside an allowed directory (see list_agents writePolicy). | |
| task | Yes | What the specialist should do | |
| wait | No | Wait for completion (default true). If false, poll with get_run | |
| model | No | Per-run model override | |
| branch | No | Branch or starting ref | |
| pr_url | No | Pull request URL for triage/review | |
| backend | No | Override backend id from config, e.g. cursor-local, anthropic, openai, openrouter, gemini, vllm-local | |
| repo_url | No | Git remote URL for Cursor cloud agents | |
| specialist | Yes | Specialist id, e.g. planner, builder, reviewer, pr-triage, or a custom external agent id | |
| extra_context | No | Additional context to include in the prompt | |
| cloud_auto_create_pr | No | Cloud Cursor agents only: open a PR when done |