List OneDrive Files
list_drive_itemsLists files and folders in OneDrive by root, folder ID, or path, with optional pagination to retrieve all 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 |
|---|---|---|---|
| folder_id | No | Folder ID (omit for root) | |
| folder_path | No | Folder path (e.g., 'Documents' or 'Documents/Subfolder') | |
| fetch_all_pages | No | Fetch all pages of results (max 50 pages) |