search_files
Search SharePoint and OneDrive files across Microsoft Graph and a local SQLite FTS5 cache, or query only the cache to avoid Graph requests.
Instructions
Search files in local SQLite FTS5 cache and/or Microsoft Graph. With remote (the default) this costs one Graph search request, at most 100 hits across sites; remote: false searches only the local cache, with no request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | ||
| drive | No | ||
| limit | No | ||
| query | Yes | ||
| remote | No | Default true: query Microsoft Graph and fill remaining slots from the local cache. false searches the local cache only. |