update_tag_manager_tag
Change a tag in the container draft destructive
Description
CHANGE AN EXISTING TAG in the draft workspace: rename it, fix a wrong conversion id or label, move it onto a different trigger, or pause it. Like create_tag_manager_tag this lands in a DRAFT and does not reach the website until a human publishes the container. Hermoso reads the tag first and merges your change on top of it, because Tag Manager's update replaces the whole tag and sending only the changed field would silently strip its parameters and triggers. A tag's type cannot be changed: that is deleting one tag and creating another. If somebody edited the tag in Tag Manager after Hermoso read it the change is REFUSED rather than overwriting their edit, and the fix is to read it again and reapply. To stop a tag running, pause it rather than removing its trigger. 0 credits. Needs Google Tag Manager connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
containerPathrequired | string | container path accounts/<id>/containers/<id>, from list_tag_manager_containers |
gtmWorkspace | string | Tag Manager workspace id or name; defaults to the Default Workspace |
workspace | string | older name for gtmWorkspace (MCP only) |
tagIdrequired | string | the tagId from list_tag_manager_tags |
name | string | new tag name |
firingTriggerId | string[] | replaces the firing trigger ids, from list_tag_manager_tags |
parameter | object[] | replaces the tag parameters: [{type, key, value}] |
blockingTriggerId | string[] | replaces the blocking trigger ids |
tagFiringOption | string | unlimited, oncePerEvent or oncePerLoad |
paused | boolean | pause the tag rather than removing its trigger, which is how you stop one running |
notes | string | replaces the internal note on the tag |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_tag_manager_tag.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_tag_manager_tag","arguments":{"containerPath":"<string>","tagId":"<string>"}}}
CLI
hermoso call update_tag_manager_tag --json '{"containerPath":"<string>","tagId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_tag_manager_tagInstall a tag in the container draftcreate_tag_manager_triggerCreate a trigger in the container draftlist_tag_manager_tagsWhat is actually firing on the sitelist_tag_manager_containersList the Tag Manager containers shared with this profile