get_document_info
Inspect a document before conversion to identify its format, page count, metadata, table of contents, scan/OCR need, or encryption status. Use this first to plan which pages to convert or to check if a password is required.
Instructions
Inspect a document before converting it: detected format, page count, title/author metadata, table of contents (PDF), whether the file is scanned (needs OCR) or encrypted. Call this first for unknown or large documents to plan which pages to convert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the document to fetch and convert. Leave empty when passing file_base64 instead. | |
| filename | No | Original filename with extension (e.g. 'report.docx'). Used as a format hint when content type cannot be detected automatically. | |
| password | No | Password for encrypted PDFs. Empty for normal files. | |
| file_base64 | No | Base64-encoded file content (for documents not reachable by URL). Decoded size limit: 30 MB. Leave empty when passing url instead. |