get_annotations
Retrieve annotation data for an artboard, including markdown, element IDs, UI hints, source/validated hashes, and broken references, to verify and update documentation against current source code.
Instructions
返回这块画板的标注:md(annotations.md 全文,一篇 markdown)、refs(annotations.refs.json,{ 元素id: { interactionPath:[...] } })、elementIds(当前源码里的元素 id 清单,md 里 名 引用的 id 要从这里选)、elementHints({ 元素id: 一句它在界面上大概是什么 },从源码静态提取,用来给 chip 起人话显示名——只是线索、可能不准、别原样当显示名粘进去;取不到线索的 id 不在这个表里)、sourceHash、validatedHash(md 上次核对于哪版源码)、brokenRefs(md 里引用但源码已没有的元素 id)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | 覆盖默认工作目录(项目所在父目录);相对路径按当前工作目录解析;缺省用 PROTOFLOW_HOME 或启动时的 cwd | |
| projectId | Yes | 项目 id(同时也是项目文件夹名) | |
| artboardId | Yes |