List mail folders
list_mail_foldersList every mail folder in one mailbox, including nested folders, with item counts and a full path like "Clients/Acme". Folders can be nested.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mailbox": "<mailbox>"
},
"name": "list_mail_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Email address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| includeHidden | No | Include folders Outlook hides by default |