Download a OneDrive file
download_drive_fileDownload a OneDrive file's contents as text (up to 1 MB) for text, markdown, JSON, or CSV. Provide a path or item ID to retrieve the content.
Instructions
Download a OneDrive file's contents as text (capped at ~1 MB). Best for text/markdown/JSON/CSV; binary files come back as best-effort UTF-8, so prefer webUrl for those. Give path or item_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path from the drive root, e.g. /Documents/notes.md. | |
| item_id | No | File item id (from list_drive_items). Alternative to path. |