Events
onelence_list_eventsTracked events on a site newest first, with name and page path; filter by an exact event name. Useful to confirm a custom event fires.
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": "onelence_list_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Window end, inclusive for a date. Defaults to now. | |
| site | No | Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site. | |
| limit | No | Items to return (default 25). | |
| start | No | Window start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end. | |
| cursor | No | next_cursor from the previous call, for more. | |
| event_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| more | No | How to fetch the next page, when has_more. | |
| total | Yes | ||
| object | Yes | ||
| has_more | Yes | ||
| next_cursor | Yes |