cvat_replace_task_annotations
Replace existing CVAT task annotations with new annotation data. Requires explicit confirmation to prevent accidental loss.
Instructions
Replace task annotations with PUT /api/tasks/{id}/annotations/. Requires confirmReplace=true.
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": {
"taskId": "<taskId>",
"annotations": "<annotations>",
"confirmReplace": "<confirmReplace>"
},
"name": "cvat_replace_task_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| annotations | Yes | CVAT LabeledDataRequest JSON. | |
| confirmReplace | Yes | Must be true because this replaces current task annotations. |