GA4: Data retention
ga4_data_retentionEvent-Datenaufbewahrung einer Property lesen/setzen. action: get | set. event_data_retention: TWO_MONTHS / FOURTEEN_MONTHS (GA360 auch TWENTY_SIX_/THIRTY_EIGHT_/FIFTY_MONTHS). reset_on_new_activity: bool. property_id: die GA4-Property des Workspace (andere werden abgelehnt). workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).
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": {
"action": "<action>",
"property_id": "<property_id>"
},
"name": "ga4_data_retention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| workspace | No | ||
| property_id | Yes | ||
| event_data_retention | No | ||
| reset_on_new_activity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||