Get File Download URL
file_download_urlRetrieve a temporary direct download link for a OneDrive file. The URL allows downloading without authentication and expires after a short period.
Instructions
📖 Get direct download URL for a OneDrive file (read-only, safe for unsupervised use)
Returns a temporary download URL that can be used to download the file directly without authentication. The URL expires after a short period.
Args: file_id: The file ID to get download URL for account_id: Microsoft account ID
Returns: Dictionary containing the download URL and file metadata
Raises: ValueError: If file_id is invalid or file not found
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||