search-drive-items
search-drive-itemsSearch for files by keyword within a specific drive or document library. Provide the drive ID and query to return matching items, with automatic pagination.
Instructions
Search files by keyword within one drive (document library).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search keyword | |
| cursor | No | Continuation token (nextCursor of a previous truncated response). Continues that listing; other query inputs are ignored. | |
| driveId | Yes | Value for driveId | |
| 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. |