List Mail Folders
list_mail_foldersList top-level mail folders with item and unread counts to identify valid destinations before moving messages.
Instructions
List mail folders with item and unread counts, for resolving move destinations. Top-level folders only — a folder reporting subfolders has children this does not list.
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 |
|---|---|---|---|
| mailbox | No | Email address of another mailbox to act on (delegated or shared), e.g. 'someone@example.com'. Omit for your own mailbox; required when this server signs in as an application. Only addresses this server is configured to allow will be accepted. | |
| fetch_all_pages | No | Fetch all pages of results (max 50 pages) |