list_folder
Browse and enumerate files and subfolders in a OneDrive folder; use continuation links to page through large folder contents.
Instructions
List the contents of a OneDrive folder.
Args: path: Folder path (e.g. '/Documents') or 'root'/'/' for the drive root. A Graph item id is also accepted. top: Page size, between 1 and 200 (default 50). next_link: Continuation returned by this tool; keep path and top unchanged.
Returns {items: [...], next_link, has_more}. Repeat with next_link until has_more is false. Opaque continuations are bound to this folder and page size, and expire after one hour or a server restart.
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_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| path | No | / | |
| next_link | No |