GA4: start a new Analytics account (terms link)
ga4_provision_accountStart a new Google Analytics account for a login that has none.
Returns terms_url: a link the user opens ONCE to accept Google's
Analytics terms (only they can); the account exists after that. Then
ga4_list_account_summaries finds it, and ga4_create_property follows.
region_code is the business's country (CLDR, e.g. "IN", "US"). If Google
refuses, the result has fallback=true and Google's own sign-up page
instead — give the user that link.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": {
"display_name": "<display_name>",
"region_code": "<region_code>"
},
"name": "ga4_provision_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_code | Yes | ||
| display_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |