Link two tasks
planitude_link_tasksCreates a dependency between two tasks and recalculates the dates. Types: FS (finish-to-start, default), SS (start-to-start), FF (finish-to-finish), SF (start-to-finish). Lag is in working days and can be negative (lead). If the two tasks are already linked, the existing link's type and lag are replaced. A link that would create a cycle is rejected and nothing is saved. Requires write permission.
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": {
"projectId": "<projectId>",
"predecessor": "<predecessor>",
"successor": "<successor>"
},
"name": "planitude_link_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Dependency type. Default FS. | |
| lagDays | No | Lag in working days, negative for a lead. | |
| projectId | Yes | Project id (uuid), as returned by planitude_list_projects. | |
| successor | Yes | The task that depends on the predecessor. | |
| lagMinutes | No | Lag in working minutes. Takes precedence over lagDays. | |
| predecessor | Yes | The task that comes first. |