open_document
Open a user-named document from a filesystem, SharePoint, or OneDrive source, register it, and return its inspection in one call to skip separate registration and inspection.
Instructions
Open a document the user named by source: registers it and returns its inspection in one call - use this instead of register_document followed by inspect_document. source is connection-specific, exactly as for register_document: a path under a filesystem connection's root, or a SharePoint/OneDrive URL or 'driveId/itemId' pair. Returns {connectionId, documentId, name, contentType, version} followed by the inspect_document payload (snapshot, outline, paragraphs, contentControls, nodes, styles). Keep documentId for follow-up calls; paging works as in inspect_document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| source | Yes | ||
| sheetId | Yes | ||
| fidelity | Yes | content | |
| connectionId | Yes | ||
| maximumCells | Yes | ||
| paragraphLimit | Yes | ||
| paragraphOffset | Yes |