extract_text_in_regions
Extract text from specific bounding-box regions on PDF pages, providing targeted content retrieval from defined areas.
Instructions
Extract text from specific bounding-box regions on pages.
Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. page_regions: List of {"page": int, "regions": [{"x": float, "y": float, "width": float, "height": float}, ...]} dicts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_text_in_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | No | ||
| page_regions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |