Search inside a PDF
Search an uploaded PDF for a term and inspect the matching page context.
PDF search · search PDF · document search · encryption
Last updated:
I uploaded test_document.pdf for a later PDF search example. Do not call any PDF tools yet. Just acknowledge that the file is uploaded and processing: ```json { "type": "pdf", "embed_id": "de37eb8c-b8a8-4bee-b2cd-e161a19bf84f" } ```
I've received your uploaded file test_document.pdf. It's currently being processed and will be ready for us to search through whenever you're ready. What kind of information are you planning to look for in this document later? **Next steps:** - You can ask me to search for specific keywords or topics within the PDF. - I can also summarize the contents of the document for you once it's finished processing.
Use pdf.search once with file_path test_document.pdf and query encryption. Answer with the matching page number and one short quote.
On page 1 of the document, the search for "encryption" returned the following: **Next steps:** - Would you like me to check page 2 for more technical details on its architecture? - I can also search for other terms like "FastAPI" or "PostgreSQL" mentioned in the document.