list_folders
Retrieve a list of all mail folders in your Yandex mailbox including human-readable names, IMAP folder names, and attributes for further operations.
Instructions
List all mail folders in the Yandex mailbox.
Returns list of folders with:
name: Human-readable folder name (decoded from IMAP UTF-7)
imap_name: Raw IMAP folder name (use this for other operations like search_emails)
attrs: IMAP folder attributes, e.g. ["\HasNoChildren", "\Trash"]
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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |