sharepoint_search_files
Runs a full-text search across all SharePoint content the user can access, using Microsoft’s Keyword Query Language (KQL). Returns file identifiers (driveId and itemId) that can be passed directly to sharepoint_get_file_content or sharepoint_get_file_metadata.
Parameters
Returns
A paginated list of search results. Each result includesdriveId, itemId, name, webUrl, mimeType, size, lastModifiedDateTime, parentPath, and siteId. Includes count, offset, has_more, and next_offset.
KQL supports phrases (
"exact phrase"), field-scoped queries (filename:report.xlsx), and boolean operators (budget AND 2024). For simple keyword searches, plain text works without any special syntax.Example use
“Search for any SharePoint files mentioning ‘annual review’.”