List folders
list_foldersLists mail, calendar, contact, or task folders with paths, IDs, names, and item/unread counts, so you can use the correct folder path or ID in later operations.
Instructions
List mailbox folders with their paths, IDs, well-known names and item/unread counts. Use the returned path or ID wherever a folder is expected.
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 |
|---|---|---|---|
| kind | No | Folder type to list (default "mail") | |
| refresh | No | Bypass the five-minute folder cache |