What is new
whats_newTrack mail changes since a stored state: created, updated (moved or flagged), and deleted messages, oldest first with IDs only, across one or more accounts.
Instructions
What changed since an earlier call: mail created, updated (moved, flags) or deleted, oldest first, ids only. Of one account, several or all. Call once without since to get a state, later pass that state as since. With more, call again at once. It reads only. get_message reads a new mail. To find mail by its content, use search_messages.
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": "whats_new"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many changes in one answer | |
| since | No | state of the previous call. Left out: no changes, only the state to start from | |
| account_id | No | One account. Left out: every account, or those of account_ids | |
| account_ids | No | Several accounts, not beside account_id. Left out: every account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | Yes | ||
| note | Yes | ||
| state | Yes | ||
| changes | Yes |