events
Read what your orders did. Pass trace (the id entry or command's caller received) to read one order's events; omit trace to list your account's recent events instead, newest first, optionally narrowed by hook_id and/or canonical_id — this is the only way to see an order any webhook sender (TradingView, a script, another platform) fired directly, since it never went through entry and has no trace. Requires your Autoview account token. Poll this a moment after an order if the events are not there yet — the exchange reports back out-of-band.
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": "events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max events to return (default 20) | |
| token | No | your Autoview account token — an av_mcp_ personal access token, generate one at /account/tokens/ on the Autoview site. Omit this if your MCP client already sends it as an `Authorization: Bearer` header (Claude Code, Cursor, and most non-browser clients do this automatically once configured). | |
| trace | No | the trace id returned by the entry tool for the order you want to inspect; omit to list your account's recent events instead | |
| hook_id | No | when trace is omitted, narrow the account-wide listing to events reported for this hook | |
| canonical_id | No | when trace is omitted, narrow the account-wide listing to events reported for one webhook delivery (the canonical id a webhook call produces) |