clickup_add_dependency
Create a blocking dependency to enforce task execution order. Specify if a task waits on or blocks another task.
Instructions
Create a blocking dependency between two tasks.
A dependency says one task must be completed before another. Pick the
direction with exactly one of depends_on (task_id waits on that task) or
dependency_of (task_id blocks that task) — the other end is task_id.
When to Use:
To enforce an execution order ("finish design before build").
To surface blockers on the ClickUp task's Relationships tab.
When NOT to Use:
For a loose "related to" association with no ordering — use
clickup_add_task_linkinstead.To remove an edge — use
clickup_delete_dependency.
Returns: A confirmation naming both tasks and the direction of the new edge.
Examples:
task_id waits on another task:
params = {"task_id": "abc", "depends_on": "xyz"}task_id blocks another task (with custom IDs):
params = {"task_id": "PROJ-1", "dependency_of": "PROJ-2", "custom_task_ids": true, "team_id": "123"}
Error Handling: A 400/403 usually means the Dependencies ClickApp is disabled for the Workspace or the plan does not include it; a 404 means a task ID is wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |