update_annotation
Partially update an annotation's label, comment text, or quality score. Use to fix a label or rescore quality, passing the annotation ID obtained from list_annotations_for_call.
Instructions
Partially update an annotation's annotationText / label / qualityScore (PATCH /v1/annotations/:id). callId is immutable. For fixing a label or re-scoring quality from 4 to 5, etc. Pass annotations[].id obtained from list_annotations_for_call as annotationId.
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": {
"annotationId": "<annotationId>"
},
"name": "update_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | New label (0-50 chars, alphanumerics plus _ - only). Omit to keep the current value | |
| annotationId | Yes | Target annotation id (AUTOINCREMENT integer) | |
| qualityScore | No | New quality score (1-5). Omit to keep the current value | |
| annotationText | No | New comment (0-2000 chars). Omit to keep the current value |