gtm_update_variable
Updates a GTM variable in the sandbox workspace by fetching current state, merging provided updates, and saving.
Instructions
Update a variable in the sandbox workspace. Fetches current variable, merges updates, then saves. Safety: only operates on sandbox workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable_id | Yes | The variable ID | |
| updates_json | Yes | JSON object with fields to update (e.g. parameter, name) |