download_file
Download a OneDrive or SharePoint file to local disk, returning its path, MIME type, size, and item identifiers for later use.
Instructions
Download a OneDrive or SharePoint file to local disk, returning { ok, path, file_name, mime_type, size_bytes, is_image, drive_id, item_id, e_tag, c_tag }. Transfers the whole file, so the call takes longer as the file grows.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | ||
| path | No | ||
| site | No | ||
| drive | No | ||
| item_id | No |