mail_list_folders
List folders in your mailbox or a shared mailbox, with optional pagination, hidden folder inclusion, and parent-folder filtering to navigate and manage email organization.
Instructions
List folders in the selected mailbox scope.
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": "mail_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| pageSize | No | ||
| mailboxScope | No | ||
| includeHidden | No | ||
| parentFolderId | No |