dispatch_agent
Manually run a role of an existing task with real provider execution and wait for progress, then perform any required follow-up action.
Instructions
Dispatch the configured provider with real execution and wait for progress; no simulated Agent option. Use it to run a role of an existing task manually (for example a role named by get_task_status); to start a new change use start_project_request, and to move on after a finished result use advance_project. If the result has a non-null action_required, do NOT end your turn: perform it immediately (usually wait_for_task again). If it has a non-null meeting_mode_notice, your reply to the user MUST begin with meeting_mode_notice.text verbatim as its first line.
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": {
"project_id": "<project_id>",
"task_id": "<task_id>",
"role": "<role>",
"context_version": "<context_version>",
"instruction": "<instruction>"
},
"name": "dispatch_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role to run, for example SA, SD, RD, SD/RD or REVIEW; the project's configured provider for that role is used. | |
| task_id | Yes | Task id, as shown in get_task_status or list results. | |
| project_id | Yes | Registered project id, as returned by list_projects. | |
| instruction | Yes | What this role should do, in plain language. | |
| wait_seconds | No | How long to wait for the workflow to settle after this call, in seconds (default 50). It returns earlier when the work settles. | |
| context_version | Yes | Current context_version from get_context. A stale value is rejected as a version conflict. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||