batch_annotate
Batch create multiple PDF annotations in a single request, reducing API calls. Provide item ID and a list of annotations with page index and coordinates.
Instructions
一次性创建多条 PDF 标注(减少调用次数)。
每条标注需包含 page_index 和 rects,可选 color/text/comment/type。 写操作需要关闭 Zotero 桌面应用。
Args: item_id: Zotero PDF 附件的 itemID(数字),或 PDF 文件的绝对路径 annotations: 标注列表,每项为: {"page_index": int, "rects": [[x0,y0,x1,y1],...], "color": str, "text": str, "comment": str, "type": str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| annotations | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |