download-my-drive-item
download-my-drive-itemRetrieve a OneDrive file's content by item ID: convert Office, PDF, TXT, and CSV files to readable text, or return other binaries as base64 for further processing.
Instructions
Download a OneDrive file's content. DOCX/XLSX/PPTX/PDF/TXT/CSV are converted to text; other binaries come back as base64. Size-limited by MAX_DOWNLOAD_BYTES.
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": {
"itemId": "<itemId>"
},
"name": "download-my-drive-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Value for itemId | |
| fileName | No | File name (helps pick the right text extractor) |