Provenance
Freshness & coverage
Methods (11)
listDriveItems
readList OneDrive items in the root or a specific folder.
Input schema
{ "type": "object", "properties": { "folderId": { "type": "string", "description": "Optional parent folder ID." }, "folderPath": { "type": "string", "description": "Optional parent folder path." }, "top": { "type": "number", "description": "Maximum items to return." } }, "additionalProperties": true }searchDriveItems
readSearch OneDrive items by text query.
Required paramsqueryInput schema
{ "type": "object", "properties": { "query": { "type": "string", "description": "Search text." }, "top": { "type": "number", "description": "Maximum items to return." } }, "required": [ "query" ], "additionalProperties": true }downloadDriveItem
readDownload a OneDrive file by item ID or path.
Input schema
{ "type": "object", "properties": { "itemId": { "type": "string", "description": "Drive item ID." }, "path": { "type": "string", "description": "Drive item path." } }, "additionalProperties": true }moveItem
writeMove a OneDrive item to a different folder.
copyItem
writeCopy a OneDrive item to a different folder.
uploadDriveItem
writeUpload a file to OneDrive. Provide exactly one of contentBase64, contentText, or sourceUrl.
Required paramsfilenameInput schema
{ "type": "object", "properties": { "filename": { "type": "string", "description": "Filename to create." }, "folderId": { "type": "string", "description": "Optional parent folder ID." }, "folderPath": { "type": "string", "description": "Optional parent folder path." }, "contentText": { "type": "string", "description": "UTF-8 text content to upload." }, "contentBase64": { "type": "string", "description": "Base64-encoded binary content." }, "sourceUrl": { "type": "string", "description": "Public/HTTPS URL the server fetches server-side (use INSTEAD of contentBase64 to avoid inlining large files)." }, "contentType": { "type": "string", "description": "MIME type for the uploaded file." }, "conflictBehavior": { "type": "string", "description": "Conflict behavior such as fail, replace, or rename." } }, "required": [ "filename" ], "additionalProperties": true }getItemByPath
readcreateFolder
writedeleteItem
writebatchDownload
read
