read_pages
Extract text from specified PDF or image pages, cache results, and return source, line count, and mean confidence for each page.
Instructions
Several pages read and cached; each page's source, line count and mean confidence (read_page gives the text).
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>",
"pages": "<pages>"
},
"name": "read_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| lang | No | eng | |
| path | Yes | ||
| pages | Yes | '3', '1-5', '1,4,9-12' or 'all' | |
| force_ocr | No |