download-onedrive-file-content
Download files from OneDrive using Microsoft Graph API. Specify drive and item IDs to retrieve content streams, with options for format selection and pagination control.
Instructions
The content stream, if the item represents a file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"driveId": "<driveId>",
"driveItemId": "<driveItemId>"
},
"name": "download-onedrive-file-content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the content | |
| driveId | Yes | Path parameter: driveId | |
| driveItemId | Yes | Path parameter: driveItemId | |
| fetchAllPages | No | Automatically fetch all pages of results | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |