Link Task to Context
link_to_contextAdd a task to another Capacities object's Context by appending it to that object's body; if already embedded, report existing block IDs without duplicate writes.
Instructions
Add a task to another object's Context. A task's Context in Capacities is derived, not a property: it is the set of objects (people, projects, meetings, ...) whose body embeds the task as an EntityBlock. This appends an EntityBlock embedding the task to the END of the target object's body (POST /blocks/append). Idempotent: if the target already embeds the task anywhere in its body, nothing is written and the existing block id(s) are reported. task_id must be a Task (RootTask).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | objectId of the task to add to the Context | |
| object_id | Yes | objectId of the person/project/meeting/... whose body will embed the task |