Replace all annotations
replace_annotationsReplace all annotations on an image with a new list, or clear them by passing an empty list.
Instructions
Replace ALL annotations on an image with the given list. Pass an empty list to clear them.
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": {
"image_id": "<image_id>",
"annotations": "<annotations>"
},
"name": "replace_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | Yes | Id of an image in Image Label: the imageId (a UUID string) returned by list_images or an upload. | |
| annotations | Yes | The complete new list of annotations; every existing annotation not in it is deleted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||