Allocate task
task_allocateAllocate a policy-checked work package and get a task_id to pass into a child agent prompt, enforcing role, budget, and done criteria before spawning a subagent.
Instructions
Allocate a policy-checked work package before native spawn_agent. Put the returned task_id into the child's prompt. Root role depends on mission.strategy: fanout/director_plan/pipeline require Terra; direct allows one root Luna. fanout Terra objective max 2000 characters.
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 |