List change events
list_eventsRetrieve Mercury change events to see which transactions or accounts changed, which fields were updated, and when; filter by entity, resource type, or date.
Instructions
List the change-event feed in Mercury API desc order: what changed on which resource, with the changed fields.
`mergePatch` / `previousValues` are re-projected through the changed
resource's own allowlist (so an account event masks the account
number and a transaction event carries no bank coordinates). The API
has no time filter and documents no sort key, so with `since` the
whole feed (Mercury keeps 90 days) is walked, filtered on
`occurredAt` here, and sorted newest first before `limit` applies;
`truncated` is then exact. Without `since` the Mercury API `desc`
order is returned as is. Use this to see what changed recently on
transactions and accounts and which fields changed; use
`list_transactions` for the transactions themselves and
`list_webhooks` for the endpoints subscribed to these events. An
unknown `resource_type` is a 400 from Mercury.
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": {
"entity": "<entity>"
},
"name": "list_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum events to return (with `since`: newest first; else Mercury API desc order). | |
| since | No | Only events at or after this time, YYYY-MM-DD or ISO 8601 (UTC). Events live 90 days. | |
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| resource_type | No | Restrict to one resource type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||