wait_for_annotations
Blocks until user submits annotations in the browser, then returns detailed annotation data (type, note, geometry, target elements) for editing SVG figures.
Instructions
阻塞等待用户在浏览器里提交批注,提交后立即返回批注内容。
重要协议:返回 status="timeout" 表示用户还没提交,这不是错误——
若仍在等待用户批注,应立即再次调用本工具继续等待,直到拿到
status="submitted" 或用户在对话里明确说不批注了。
返回的每条批注含:kind(rect/arrow/freehand/text)、note(用户文字)、
geometry_svg(viewBox 坐标)、hits(命中的 SVG 元素:id/文字/祖先链,
用于在 SVG 源文件或生成脚本中定位)、texts_in_region(选区内的文字)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No |