Allocate task
task_allocateAllocate a policy-checked work package to obtain a task_id for a child agent. Use the returned task_id in the child's prompt to enforce parent-child role hierarchy and enable controlled subagent execution.
Instructions
Allocate a policy-checked work package before native spawn_agent. Put the returned task_id into the child's prompt; only direct parent-child role edges are accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | Yes | ||
| role | Yes | ||
| model | Yes | ||
| budget | No | ||
| actorId | Yes | ||
| maxEffort | No | ||
| missionId | Yes | ||
| objective | Yes | ||
| allowedTools | No | ||
| dependencies | No | ||
| doneCriteria | Yes | ||
| outputSchema | No | ||
| parentTaskId | No | ||
| capabilityPack | Yes | ||
| idempotencyKey | Yes | ||
| reasoningEffort | Yes | ||
| parentLeaseToken | No | ||
| inputArtifactRefs | No | ||
| expectedParentVersion | No |