Search OneDrive
search_drive_filesFind files and folders in OneDrive by name or content using a search query. Returns matching results, with an optional limit on the number of items.
Instructions
Search across OneDrive for files and folders matching a query (name/content).
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_drive_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum results (capped by OUTLOOK_MAX_RESULTS) | |
| query | Yes | Search text. |