Run a funnel
run_funnelHow many visits went through steps in order, and where they dropped off. A step starting with "/" is a page path; anything else is a custom event name. Pass 2-8 steps, or the name or id of a saved funnel (omit both to list saved funnels).
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": {
"site_id": "<site_id>"
},
"name": "run_funnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, inclusive, YYYY-MM-DD; default today | |
| from | No | First day, YYYY-MM-DD; overrides period | |
| steps | No | ||
| funnel | No | Name or id of a saved funnel | |
| period | No | Window ending now; days are whole days in the timezone. Ignored when from is set. | 30d |
| filters | No | Keep only matching traffic; values of one dimension are OR-ed, dimensions AND-ed | |
| site_id | Yes | site_id from list_sites; a site name, slug or domain also resolves | |
| timezone | No | IANA zone for day boundaries; default the user's | |
| breakdown | No | Split conversion by this |