List OneDrive items
list_drive_itemsList files and folders in a OneDrive folder by path or item ID. Retrieve metadata like name, size, and last modified.
Instructions
List the files and folders in a OneDrive folder. Give a path relative to the drive root (e.g. "/Documents"), or an item_id from a previous result. Omit both for the root. Returns id, name, isFolder, size, childCount, lastModified, webUrl.
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 from the drive root, e.g. "/Documents/Reports". Omit for root. | |
| item_id | No | Folder item id (from a previous list). Alternative to path. |