add_task_link
Create a typed link between tasks to express dependencies, evidence, decisions, outputs, or support. Forward links can reference tasks not yet created and resolve automatically once they appear.
Instructions
WRITE. Adds a typed relationship from one task to another. Types express dependencies, evidence, decisions, outputs, supersession, support, or a general relation. Set allowMissing to record a forward link to a task that does not exist yet — it auto-resolves once the target is created (or run resolve_task_links to refresh its title).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| agent | No | ||
| title | No | Title hint for a forward link whose target cannot be read yet. | |
| allowMissing | No | Allow linking to a target that does not exist yet (a forward/dangling link). | |
| sourceTaskId | Yes | ||
| targetTaskId | Yes | ||
| sourceProjectId | Yes | ||
| targetProjectId | Yes |