Zotero Get Page Layout
zotero_get_page_layoutDetects figures, tables, and display equations on a PDF page, returning normalized coordinates with captions and a ready-made annotation call. Use it to locate annotation areas instead of guessing.
Instructions
Detect figure, table and display-equation regions on one PDF page and return their boxes (x, y, width, height, normalized 0-1), each with its caption or equation number, a confidence and a ready-made zotero_create_annotation call. Use it before an area annotation instead of guessing coordinates. Boxes cover the graphic itself: labels inside a figure or unruled table headers can fall outside, and confidence reflects caption matching, not box completeness. attachment_key: the PDF attachment, NOT the parent item (zotero_get_item_children lists it). page: 1-indexed. PDFs only.
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": {
"attachment_key": "<attachment_key>",
"page": "<page>"
},
"name": "zotero_get_page_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| attachment_key | Yes |