get_document_ocr_rects
Retrieve OCR bounding boxes with text and normalized coordinates per page. Optionally limit to a specific page.
Instructions
Get OCR bounding boxes for a document: per-rect page index, recognised text and x/y/width/height in normalized page coordinates. Optionally filter by page.
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": {
"document_id": "<document_id>"
},
"name": "get_document_ocr_rects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional: limit to a single page index. | |
| document_id | Yes | Document ID. |