hermes_get_document_content
Read the complete text of any Hermes document using its ID or URL. Automatically fetches content from search index, browser, or SharePoint.
Instructions
Read the FULL text of a Hermes document. By default (source=auto) it tries, in order: the Hermes search index (no SharePoint permissions), then your signed-in browser session over CDP, then a SharePoint/Graph fetch. Provide a documentId (preferred) or a webUrl directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Which index holds the doc (default: docs). | |
| source | No | auto (default): index → browser → SharePoint. index: only the low-privilege search index. browser: only your signed-in Chrome session (no admin/scopes). sharepoint: force the Graph fetch. | |
| webUrl | No | A SharePoint document URL, if you already have it (used by the browser and SharePoint paths). | |
| maxChars | No | Truncate the returned text to N characters (default 20000). | |
| documentId | No | The document objectID; used for the index lookup and to resolve the SharePoint webUrl. |