annotate_export
Export saved annotations as PNG overlays, Python coordinate constants with templates, or JSON/YAML payloads, returning file paths and generated source for agent use.
Instructions
Export a saved annotation. fmt='png' renders the base image with numbered outlines (for a multimodal agent to look at), 'py' emits coordinate constants plus a template map, 'json' / 'yaml' dump the payload. Returns file paths and, for 'py', the generated source.
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": {
"name": "<name>"
},
"name": "annotate_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | png | |
| name | Yes | ||
| out_dir | No | ||
| image_id | No |