link_annotation
Attach annotations to finish conditions, or detach by passing an empty tag. Ties up unattached notes and assigns them to the correct finish, auto-creating the tag if missing.
Instructions
Attach an existing annotation to a condition, or detach it by passing an empty condition — the canvas's Attach/Detach control, reachable by an agent. Use it to tie up notes left unattached (list_annotations reports how many), or to move one to the finish it actually concerns. Attaching mints the tag on first use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | Finish tag to attach to; empty string detaches | |
| annotation_id | Yes | Id from annotate or list_annotations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | Yes | ||
| condition | Yes | ||
| condition_id | No |