Remove annotation
annotation_removeDelete a group or note annotation from an IlluGen node graph by path, kind, and index. Fails if the index does not exist and writes the project file in place.
Instructions
Deletes one group or note annotation from the node graph.
The indexes of later annotations of the same kind shift down by one: re-read project_summary before removing
another. Fails if the index does not exist. Writes the project file in place.
Returns {"ok": true}.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Kind of annotation to remove. | |
| path | Yes | Absolute path of the .illugen project file. | |
| graph | No | Graph to work in: empty for the top-level graph, or the id or label of a Node_Subgraph node ('outer/inner' for nested subgraphs). | |
| index | Yes | Index in project_summary.annotations.groups or .notes (0-based). |