bernstein_create_subtask
Create a subtask linked to a parent task by specifying goal, role, scope, priority, complexity, and time estimate. Automatically transitions parent to WAITING_FOR_SUBTASKS.
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 |
|---|---|---|---|
| goal | Yes | ||
| role | No | auto | |
| scope | No | medium | |
| priority | No | ||
| complexity | No | medium | |
| parent_task_id | Yes | ||
| estimated_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |