list_folders
Lists IMAP mailbox folders and optionally returns message and unread counts per folder for mailbox overview.
Instructions
List the mailbox folders. With with_counts=True also returns the number of messages and unread messages per folder (slower on large mailboxes).
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 |
|---|---|---|---|
| with_counts | No |