Edit GTM Entity
update_gtm_entityEDITS an existing GTM tag / trigger / variable / workspace by its full path (from list_gtm_tags/triggers/variables/workspaces). kind = tag|trigger|variable|workspace. Provide only what changes: name (rename), parameters, firing_trigger_ids (tags only, comma-separated — empty = keep). parameters = JSON object {key: value} or a GTM parameter list; ONLY the keys you give are changed and every other parameter of the tag stays as it is (so {"eventName": "generate_lead"} changes just the event name and keeps the measurement ID). A list value becomes a GTM table/list, e.g. {"eventSettingsTable": [{"parameter": "form_id", "parameterValue": "contact"}]}. replace_parameters=true replaces the whole parameter set instead (needed only to REMOVE a parameter). GTM PUT is a full replace, so the current object is fetched, your fields applied, then written back (fingerprint preserved). SAFETY: confirm=false → preview; confirm=true → applies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | No | ||
| path | Yes | ||
| confirm | No | ||
| parameters | No | ||
| firing_trigger_ids | No | ||
| replace_parameters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||