add_dependency
Define task order by adding a dependency between tasks. Specify which task must wait for another to finish, ensuring prerequisites are completed first.
Instructions
Add a dependency between two tasks.
The task will depend on the specified task (must be completed first).
Args: task_id: ID of the task that will have the dependency depends_on_id: ID of the task it depends on
Returns: Confirmation with updated task info
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>",
"depends_on_id": "<depends_on_id>"
},
"name": "add_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| depends_on_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||