GA4: run pivot (cross-tab) report
ga4_run_pivot_reportCross-tab for a GA4 property (properties/) from start_date to end_date: rows dimensions down the side, columns dimensions across, the metrics in each cell. Keeps the top row_limit rows (at most 100) and column_limit columns (at most 25) by the first metric, states how many exist in all, and adds totals.
Tools revision: d80f65c0.
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": {
"property": "<property>",
"metrics": "<metrics>",
"rows": "<rows>",
"columns": "<columns>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "ga4_run_pivot_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| totals | No | ||
| columns | Yes | ||
| metrics | Yes | ||
| end_date | Yes | ||
| property | Yes | ||
| row_limit | No | Rows kept, 1 to 100. | |
| start_date | Yes | ||
| column_limit | No | Columns kept, 1 to 25. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |