dsh_delegate_task
Delegates a substantial independent module to a native teammate or task with goal, scope, constraints, and checks, then waits synchronously for completion.
Instructions
Optionally delegate a substantial independent module; reuse/spawn an official native teammate/task. Codex directly handles small integration fixes after first-round completion. Give a concise goal/scope/constraints/checks; no default reviewer. requestId is required; taskId+expectedRevision pin substantial rework. Omitted workspace resolves exact caller cwd. Finish necessary dispatches, then wait synchronously.
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": {
"requestId": "<requestId>",
"prompt": "<prompt>"
},
"name": "dsh_delegate_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| model | No | ||
| prompt | Yes | ||
| target | No | ||
| taskId | No | ||
| teamId | No | ||
| subject | No | ||
| provider | No | ||
| requestId | Yes | ||
| workspace | No | ||
| permission | No | New Teams default to read-only; choose workspace-write for implementation at first open/delegate. Existing Team grants are immutable. | |
| writeScopes | No | Workspace-relative paths or globs only, such as src/module.mjs; absolute paths are rejected by the official task board. | |
| reasoningEffort | No | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |