update_annotation
Updates an existing text annotation in a live Trident document. Only the fields you provide are changed. Use get_document_summary to get all annotation IDs before calling this. Requires a valid editor access token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Editor access token for this document. | |
| agentId | Yes | YOUR AI assistant name (e.g. "Claude.ai", "GitHub Copilot"). Shown as "[agentId] working with [userName]" in the collaboration presence dot. | |
| changes | Yes | Fields to update. Only provided fields are changed. | |
| userName | No | First name of the human you are assisting (ask them at session start if you do not know). Shown in the collaboration presence dot as "[agentId] working with [userName]". | |
| annotationId | Yes | ID of the annotation to update | |
| action_explanation | No | Optional: brief explanation of what this action does and why (max 250 chars). Shown live to human collaborators in the AI cursor tooltip. |