annotate_wait
Wait for a user to save image annotations, then return exact boxes, points, polygons, names, and template images; treat pending as not saved and call again.
Instructions
Block until the user saves the annotation (or the timeout fires), then return the annotations: per image, a list of {index, name, type, box|point|points, template, hidden?}.
A status of 'pending' means the user has not saved yet -- that is NOT an error, just call annotate_wait again. Pass since_rev to only wait for saves newer than what you already have. Keep timeout_s below your MCP client's own tool timeout.
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": {
"session": "<session>"
},
"name": "annotate_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| since_rev | No | ||
| timeout_s | No |