list_folders
Retrieve all mailbox folders with decoded and raw IMAP names, special-use roles, and optional message/unseen counts to organize or audit email storage.
Instructions
List folders with decoded names (e.g. 草稿箱, 已发送), raw IMAP names and special-use role (inbox/drafts/sent/trash/junk). with_counts=true adds message/unseen counts.
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 |
|---|---|---|---|
| account | No | Email address; omit for the default (first) account. | |
| with_counts | No |