ga4_create_data_stream
Creates a GA4 data stream for web, Android, or iOS properties, requiring writes enabled and explicit confirmation before applying changes.
Instructions
[GA4 WRITE] Create a data stream (web / Android / iOS). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
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>",
"type": "<type>",
"displayName": "<displayName>",
"confirm": "<confirm>"
},
"name": "ga4_create_data_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Raw request-body object (JSON) merged OVER the typed fields — use for nested/advanced fields not exposed as flat args. | |
| type | Yes | Stream type. | |
| confirm | Yes | Must be true to apply the change. | |
| bundleId | No | For IOS streams: the app bundle id. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| defaultUri | No | For WEB streams: the site URL (sets webStreamData.defaultUri). | |
| displayName | Yes | ||
| packageName | No | For ANDROID streams: the app package name. |