List mailboxes
list_mailboxesList every IMAP folder in the account, with the special-use role of each where the server reports one. selectable: false marks a hierarchy node that organises other folders but cannot itself hold a message: move_email will not file INTO one and delete_email will not read OUT of one, so do not offer either. create_folder DOES accept one as a parent, because creating a folder underneath a placeholder is exactly what turns it into a real folder, and a mail client would do the same.
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_mailboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||