get_item_metadata
Retrieve metadata for a single OneDrive file or folder by path or item ID, including name, size, timestamps, type, web URL, and child count for inspection and organization.
Instructions
Get full metadata for a single OneDrive file or folder.
Args: path_or_id: Either a human path (e.g. '/Documents/foo.pdf') or a raw Graph drive item id.
Returns {name, id, path, size, last_modified, is_folder, web_url, created, mime_type, child_count}. The pre-authenticated Graph downloadUrl is intentionally NOT returned (see SECURITY_REVIEW N-M2) — use download_file() to fetch content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path_or_id | Yes |