process_document
Upload a PDF from a URL or local file and process it with OCR to extract hierarchical content, returning a unique doc_id for later use.
Instructions
Upload and process PDF documents from URLs or local files. Supports OCR processing, hierarchical content extraction, and intelligent document analysis. Returns a unique doc_id for subsequent operations. Processing typically takes 0-3 minutes depending on document size (estimate: 2 seconds per page). Supports files up to 100MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to a PDF document or local file path | |
| folder_id | No | Target folder ID. Use "root" for the root folder, or omit to use the user's default folder (configured in settings). |