list_mail_folders
Retrieve all mail folders, including custom ones, and get folder IDs required to list messages in non-standard Outlook folders.
Instructions
List all mail folders in the authenticated user's mailbox, including custom folders. Returns folder IDs needed for list_messages with non-standard folders.
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_mail_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of folders to return (default: 50) | |
| skip | No | Number of folders to skip (for pagination) |