list_folders
Lists top-level Outlook mail folders or child folders when a parent folder ID is provided, with pagination via nextLink and support for including hidden folders.
Instructions
List mail folders. Without parentFolderId returns top-level folders; with it returns child folders. Pass nextLink from a previous response for more. Well-known names usable as folder ids elsewhere: inbox, drafts, sentitems, deleteditems, junkemail, archive.
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_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextLink | No | Opaque nextLink from a previous response | |
| includeHidden | No | Include hidden folders | |
| parentFolderId | No | Folder id or well-known name to list children of |