Update Annotation
update_annotationModify an annotation's comment or highlight color in Zotero by key to correct notes or recolor highlights.
Instructions
Update the comment and/or highlight color of an annotation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"annotation_key": "<annotation_key>"
},
"name": "update_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| comment | No | ||
| library_id | No | ||
| library_type | No | ||
| annotation_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |