Pages & Spaces
readPageFile
Read Page File
Read the content of a file attached to a Page: a PDF's text layer, a DOCX/CSV/TXT/MD document, an audio transcript, or an IMAGE.
Arguments
fileIdstringoptionalThe fileId from listPageFiles (preferred)fileNamestringoptionalThe file name, if the fileId is unknownlimitnumberoptionalMax characters to return for text / transcriptsoffsetnumberoptionalCharacter offset for paging long text / transcriptspageIdstringrequiredThe page ID the file is attached topageRangestringoptionalPDF page range, e.g. "1-5" or "3". Defaults to the first pages.
Returns
For an image (screenshot, photo), it returns a vision-model description of what the image shows plus any legible text in it (OCR), in description, ocrText, and a combined text.
Ask for it
The Cloud routes these requests to this verb.
- read the attached PDF
- what does the attachment say
- what's in this screenshot
- describe the image on this page
Pair it with
The verbs that finish the job.