List GA4 properties
list_ga4_propertiesList every Google Analytics 4 account + property the user can access.
Always call this first when working with GA4 - the AI needs a property_id
to pass to every other ga4_* tool. Returns the full account+property tree
in one round-trip:
[
{"account": "accounts/123",
"display_name": "My Company",
"properties": [
{"property": "properties/302550400",
"display_name": "Main Site",
"property_type": "PROPERTY_TYPE_ORDINARY",
"parent": "accounts/123"}
]},
...
]With no GA4 property at all it returns {"accounts": [...], "note"} instead, the note saying why and what the user can do. Retrying will not change the answer: tell the user what the note says.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_ga4_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Optional: the user's goal in a few words. No site names or URLs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |