mail_browse
Browse Nextcloud Mail accounts, mailboxes, and messages; filter messages by sender, subject, tags, or date and page through results.
Instructions
List the mail accounts of this user, the mailboxes of one, or the messages of one.
Envelopes newest first; the full text of one is a fetch("mail:") away. Percent-encode a filter value with a space or colon (subject:Rechnung%20Mai). truncated: page cut; preview_truncated: preview cut.
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": "mail_browse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | What to list; mailboxes needs account_id, messages mailbox_id | accounts |
| limit | No | Maximum entries | |
| cursor | No | Next page handle from a truncated answer; only level=messages | |
| filter | No | Only level=messages: space-separated type:value; types is/not/from/subject/tags/start/end; start/end in Unix seconds | |
| account_id | No | Account id from level=accounts | |
| mailbox_id | No | Mailbox id from level=mailboxes |