Elements people used
list_elementsWhat people clicked and submitted in a date range: one row per element (event type, page, text, tag, generalized selector), most events first. features lists every feature counting its events today, with via (data_track or rule): an event counts toward every feature naming it, so these can sum to more than events. unassigned_events: events no feature names; unassigned=true keeps only rows where that is all of them. total_events sums events over every matching row, all pages. Events, not visitors. Pageviews and custom events are not listed. At most 92 days per call. Dates are the project's calendar days, YYYY-MM-DD (timezone: get_project); timestamps are UTC. Omit from/to for the last 28 complete days, ending yesterday. Quote counts with every percentage; a big change on a small count is noise, not a finding.
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": "list_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD in the project's timezone, inclusive. Default: yesterday, the last complete day. | |
| from | No | First day, YYYY-MM-DD in the project's timezone, inclusive. Default: 27 days before 'to'. At most 92 days in one call. | |
| page | No | Page number, from 1. | |
| limit | No | Rows per page, 1-100. Default 50. | |
| search | No | Case-insensitive substring of the element's text or generalized selector. | |
| project | No | Project ID, from list_projects. Required when this connection covers more than one project; may be left out when it covers one (and with an API key, which belongs to one project). | |
| page_url | No | Only elements on this page, as a full URL (e.g. https://shop.example.com/pricing). Normalised like ingestion and matched on both origin and path, so staging and production stay apart. Not together with page_path or page_origin. | |
| page_path | No | Only elements on this page path, exact, as stored (e.g. /products/:id). Alone it matches every origin; combine with page_origin when two hosts serve the same path. Not together with page_url. | |
| event_type | No | click or form_submit. Default both. | |
| unassigned | No | Only elements none of whose events belong to any feature. | |
| page_origin | No | Only elements on this page origin, exact, as stored (e.g. https://app.example.com). Combine with page_path when two hosts serve the same path. Not together with page_url. |