Skip to main content
onedrive_get_item Returns metadata for a specific OneDrive file or folder by its item ID — name, size, type, path, created and modified dates, and sharing info. Use onedrive_list_items, onedrive_search_files, or onedrive_list_recent to find item IDs.

Parameters

Returns

A DriveItem object with id, name, webUrl, size, createdDateTime, lastModifiedDateTime, createdBy.user.displayName, lastModifiedBy.user.displayName, file.mimeType (for files), folder.childCount (for folders), parentReference.path, and shared.scope.

Example use

“What is the size and last-modified date of item ID 01ABC123?”