list_drive_items
Retrieve files and folders from a OneDrive directory, with options to filter by path, sort order, and maximum results.
Instructions
List files and folders in OneDrive
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_drive_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path (empty for root) | |
| orderBy | No | Sort order: name, size, lastModifiedDateTime (default: name) | |
| maxResults | No | Maximum results (default: 100) |