ga4_datastream_create
Create a GA4 web data stream and retrieve the Measurement ID for installing the tracking code on your site.
Instructions
GA4 Admin: create a WEB data stream (returns the Measurement ID / tag — i.e. installs the GA4 counter).
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_id": "<property_id>",
"display_name": "<display_name>",
"default_uri": "<default_uri>"
},
"name": "ga4_datastream_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| default_uri | Yes | Site URL, e.g. https://example.com | |
| property_id | Yes | ||
| display_name | Yes |