Documentation

list_custom_event_rules

Lists the store's tracking rules with fire counts and the last time each one fired.

When to use it

To confirm a new rule is live, and to find rules that never fire — a rule with a fire_count of zero after a week has a selector that does not match.

Ask for it like this

You do not name the tool. These are questions that make an assistant reach for it:

What custom events am I tracking?

Parameters

includeDisabled
booleandefault: false
Include disabled rules in the list.

Shared parameters it accepts

None. This tool is not date-scoped — it reports current state rather than a window.

Every tool also accepts merchantId, which resolves from your connection. You never pass it.

What comes back

JSON. These are the top-level keys; date-scoped tools additionally carry a _meta block with the server date and the data coverage envelope.

rules
Per rule: id, event name, trigger type, selector, URL pattern, fire_count and last_fired_at.

Pairs with