folders_list
List all email folders and labels in your account, with optional message counts, to view folder structure and organize emails.
Instructions
List all available email folders/labels in your account. Use this to see your folder structure and organize emails.
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": "folders_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_name | No | Name of the email account to use | |
| include_counts | No | Include unread and total message counts for each folder |