ClickUp MCP Server

by v4lheru
Verified

add_task_dependency

Create a dependency relationship between two tasks. Use this to establish that one task must be completed before another can start. You must specify either 'dependsOn' (the task that must be completed first) or 'dependencyOf' (the task that's waiting for this task), but not both.

Input Schema

NameRequiredDescriptionDefault
customTaskIdsNoWhether to use custom task IDs
dependencyOfNoID of the task that's waiting for this task (optional if dependsOn is provided)
dependsOnNoID of the task that must be completed first (optional if dependencyOf is provided)
taskIdYesID of the task which is waiting on or blocking another task
teamIdNoTeam ID (required when customTaskIds is true)

Input Schema (JSON Schema)

{ "oneOf": [ { "required": [ "dependsOn" ] }, { "required": [ "dependencyOf" ] } ], "properties": { "customTaskIds": { "description": "Whether to use custom task IDs", "type": "boolean" }, "dependencyOf": { "description": "ID of the task that's waiting for this task (optional if dependsOn is provided)", "type": "string" }, "dependsOn": { "description": "ID of the task that must be completed first (optional if dependencyOf is provided)", "type": "string" }, "taskId": { "description": "ID of the task which is waiting on or blocking another task", "type": "string" }, "teamId": { "description": "Team ID (required when customTaskIds is true)", "type": "string" } }, "required": [ "taskId" ], "type": "object" }