List mailbox folders
list_mailbox_foldersList the IMAP folders of one connected account, with each folder's attributes (such as \Sent or \Trash).
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": {
"email": "<email>"
},
"name": "list_mailbox_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email account address (e.g. "user@gmail.com") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The account these folders belong to. | ||
| folders | Yes | Every folder on the account, in the order the server lists them. |