List an inbox's mailboxes or labels
list_foldersLists the provider's mailboxes (IMAP: path/name/specialUse) or labels (Gmail: id/name/type) for an inbox, so a human/agent can pick canonical folder ids to pass to sync_inbox's folders override. Demo-mode inboxes (no stored credential) return a short demo folder list instead of failing.
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": {
"inboxId": "<inboxId>"
},
"name": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inboxId | Yes |