See the pages of a scan
documents_page_imagesThe pages of a scanned PDF or a photo of a document (a receipt, a letter, a signed form) as images for you to read yourself, with any text the PDF already has. Up to 10 pages a call; ask for later pages with first_page. files_ocr turns a scan's printed words into text instead ($0.005 a page); for PDFs with text, documents_read_pdf is free. Costs $0.005 per call; nothing if it fails.
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": {
"file_id": "<file_id>"
},
"name": "documents_page_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | A file in the store (files_upload or files_list give its file_id). | |
| last_page | No | ||
| first_page | No |