list-drive-root-items
list-drive-root-itemsList files and folders in the root of a document library by drive ID. Supports filters, property selection, sorting, and pagination for efficient browsing.
Instructions
List files/folders in the root of a drive (document library).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Continuation token (nextCursor of a previous truncated response). Continues that listing; other query inputs are ignored. | |
| filter | No | OData $filter expression, e.g. "importance eq 'high'" or "hasAttachments eq true" | |
| select | No | Comma separated list of properties to return (OData $select) | |
| driveId | Yes | Value for driveId | |
| orderby | No | OData $orderby, e.g. "receivedDateTime desc" | |
| maxItems | No | Maximum items to return across pages (default 50, max 500). Pagination via @odata.nextLink is handled automatically; when the result is truncated, pass its nextCursor as cursor to continue. |