folders
List mailbox folders for email accounts to organize and access email storage structure. Returns folder names, paths, and flags for one or multiple accounts.
Instructions
List mailbox folders for one or all email accounts. Returns folder names, paths, and flags.
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": {
"action": "<action>"
},
"name": "folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| account | No | Account email filter (optional, defaults to all) |