register_document
Register an existing document with a filesystem or SharePoint connection to obtain a document ID. Provide the source path or URL, and the tool returns connection details and document metadata.
Instructions
Register an existing document with a host-configured provider connection and return its opaque documentId. source is connection-specific: for a filesystem connection, a path under its root; for a SharePoint connection, the document's SharePoint/OneDrive URL (e.g. 'https://contoso.sharepoint.com/:w:/s/…') or a 'driveId/itemId' pair (e.g. 'b!9a3f…/01ABCDEF'). Never pass credentials. Returns {connectionId, documentId, name, contentType, version}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| connectionId | Yes |