get_document
Check a document's processing status and metadata to confirm it's ready before extracting structure or page content.
Instructions
Check a document's processing status and metadata. status is one of "pending", "queued", "processing", "completed", or "failed" — call this before get_document_structure() or get_page_content() to confirm the document is ready.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | Copy the `name` field verbatim from a browse_documents() or search_documents() response (case-sensitive, include extension). Example: "Q3 Report.pdf". If the response shows two documents with the same name, pass `folder_id` alongside to disambiguate. | |
| folder_id | No | ||
| wait_for_completion | No | If true and document is processing, automatically wait up to 3 minutes until completed. Reduces repeated tool calls. |