cos_task_dependencies
Check which tasks a given task directly depends on before starting work. Verify prerequisites are complete by returning first-level dependencies for a task ID.
Instructions
Return the tasks that task_id directly depends on.
Use before starting a task to verify prerequisites are done. Returns only direct (first-level) dependencies — use repeated calls for transitive traversal.
Args: task_id: Task identifier (e.g. "TASK-199").
Returns: JSON with task_id, dependencies list, and count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |