hermosodocs

update_tag_manager_tag

Change a tag in the container draft destructive

Area: GOOGLE TAG MANAGER · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
containerPathrequiredstringcontainer path accounts/<id>/containers/<id>, from list_tag_manager_containers
gtmWorkspacestringTag Manager workspace id or name; defaults to the Default Workspace
workspacestringolder name for gtmWorkspace (MCP only)
tagIdrequiredstringthe tagId from list_tag_manager_tags
namestringnew tag name
firingTriggerIdstring[]replaces the firing trigger ids, from list_tag_manager_tags
parameterobject[]replaces the tag parameters: [{type, key, value}]
blockingTriggerIdstring[]replaces the blocking trigger ids
tagFiringOptionstringunlimited, oncePerEvent or oncePerLoad
pausedbooleanpause the tag rather than removing its trigger, which is how you stop one running
notesstringreplaces 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.

All 759 Ad campaign management tools · tools.json