m365_files_list
List immediate files and folders in a OneDrive folder (root by default) with IDs and metadata to browse directory contents without reading file contents.
Instructions
Browse the immediate files and folders in one OneDrive folder (root by default); not recursive. Returns IDs and metadata, not contents, with up to top items across internal pages. Use m365_files_search to find matches across the drive, m365_files_info for one item's metadata, or m365_files_read for text content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum total children to return, not page size | |
| path | No | Root-relative folder path, e.g. Documents/Work; omit for root. Not an item ID or URL |