bernstein_create_subtask
Decompose parent tasks into specialized subtasks for multi-agent orchestration, automatically transitioning parent tasks to waiting status during workflow execution.
Instructions
Create a subtask linked to a parent task.
Agents call this to decompose their current work into subtasks
during execution. The parent task is automatically transitioned
to WAITING_FOR_SUBTASKS status.
Args:
parent_task_id: ID of the parent task that this subtask belongs to.
goal: Description of what the subtask should accomplish.
role: Specialist role to assign (backend, frontend, qa, …).
priority: 1=critical, 2=normal, 3=nice-to-have.
scope: Task scope — small, medium, or large.
complexity: Task complexity — low, medium, or high.
estimated_minutes: Rough time estimate in minutes.
Returns:
JSON with the created subtask ID, parent_task_id, title, and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_task_id | Yes | ||
| goal | Yes | ||
| role | No | auto | |
| priority | No | ||
| scope | No | medium | |
| complexity | No | medium | |
| estimated_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |