ga4_update_key_event
Modify a GA4 key event's counting method or default value. Pass the event name and fields to change; confirmation required.
Instructions
[GA4 WRITE] Update a key event (e.g. its counting method or default value via body). Pass only the fields to change; updateMask is derived from them (override with an explicit updateMask for nested paths). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
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. | |
| name | Yes | Full resource name of the key event to target, e.g. "properties/123/…/456". | |
| confirm | Yes | Must be true to apply the change. | |
| updateMask | No | Comma-separated field paths to update. Omit to derive from the supplied fields. | |
| countingMethod | No |