words_in
Extract words inside a specific bounding box on a PDF page or image in reading order. Use it to read a table column or page region without processing the full document.
Instructions
The words inside a box on a page, in reading order: one column of a table read on its own.
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": {
"path": "<path>",
"page": "<page>",
"box": "<box>"
},
"name": "words_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | Yes | [x0, y0, x1, y1] in PDF points from the top left | |
| dpi | No | ||
| page | Yes | ||
| path | Yes | ||
| force_ocr | No |