Check funnel steps
preview_funnelCheck draft funnel steps before create_funnel; saves nothing. Per step, how many events it matched in the range, matched exactly as a saved funnel matches them. Events, not visitors, and no conversion: past conversion cannot be computed for steps that were not a funnel then. A step with 0 matched_events would count nobody: fix page_path (exact, as stored, e.g. /products/:id; see list_property_values; for many pages use a feature rule with starts_with or matches and step on its feature) or the feature name, unless it is a data-track name that is not deployed yet. 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.
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": {
"steps": "<steps>"
},
"name": "preview_funnel"
}
}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. | |
| steps | Yes | Draft steps exactly as for create_funnel: 2 to 10, each with filters (event_type, page_origin, page_path, feature). | |
| 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). |