run_funnel_report
Build sequential GA4 funnel reports with 1–10 steps and up to 4 segments, including breakdowns and next-action dimensions, to analyze conversion paths.
Instructions
Read a sequential funnel via Data v1alpha: 1–10 steps, up to 4 segments.
Steps use native FunnelStep JSON, e.g. {"name":"Purchase","filterExpression":{"funnelEventFilter":{"eventName":"purchase"}}}. Step filters use FunnelFilterExpression, not the core report FilterExpression. Optional breakdown: {"breakdownDimension":{"name":"deviceCategory"},"limit":"5"} (max 15). Next action: {"nextActionDimension":{"name":"eventName"},"limit":"5"} (max 5). Segments use native Segment JSON; Google validates nested filter/segment semantics. Returns funnelTable and funnelVisualization with named rows, metadata and propertyQuota. No offset exists; possiblyTruncated flags subreports at the limit. Narrow the query then.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>",
"steps": "<steps>"
},
"name": "run_funnel_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| steps | Yes | ||
| account | No | ||
| end_date | Yes | ||
| segments | No | ||
| start_date | Yes | ||
| property_id | No | ||
| is_open_funnel | No | ||
| dimension_filter | No | ||
| funnel_breakdown | No | ||
| funnel_next_action | No | ||
| visualization_type | No | STANDARD_FUNNEL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||