Docs menu
Get started
What is Opus GrowthQuickstartAdd to your AIHow it worksSafety and approvalCreditsPlansFAQAI apps
All AI appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOther MCPConnect ad platforms
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgencies and MCCConnect data sources
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWebsites and SEO
AI ServerWordPressSEO IntelligenceClick fraudTool reference
All toolsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceClick fraudCross-channelAccount and billingLanguage
Publish GTM Container
PUBLISHES the workspace's staged changes LIVE: creates a container version from the workspace, then publishes it.
- Type
- Makes changes
- Credits
- 3
- Platform
- Tag Manager
- Approval
- Preview first, applied after you approve
What it does
PUBLISHES the workspace's staged changes LIVE: creates a container version from the workspace, then publishes it. This is what makes new/edited tags actually run on the site. SAFETY: confirm=false → preview (nothing goes live); confirm=true → create version + publish. workspace = a list_gtm_workspaces path (empty → Default Workspace of the resolved container). container = 'GTM-XXXX'/name if workspace is empty.
MCP: publish_gtm_container
How to use it
You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.
Because this tool changes your account, your assistant first shows a preview of exactly what will change. Nothing is applied until you say yes, and every applied change is written to your audit log.
Parameters
| Name | Type | Required | Default | |
|---|---|---|---|---|
| workspace | string | Optional | · | Exact workspace identifier or resource name returned by the relevant workspace-listing tool. |
| container | string | Optional | · | Exact container identifier or resource name returned by the relevant container-listing tool. |
| version_name | string | Optional | · | Name of the version to select, create, or display for this operation. |
| notes | string | Optional | · | Exact notes value for publish gtm container. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| confirm | boolean | Optional | false | Safety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change. |
Related tools
Create GTM Container
create_gtm_containerCreate GTM Tagcreate_gtm_tagCreate GTM Triggercreate_gtm_triggerCreate GTM Variablecreate_gtm_variableCreate GTM Workspacecreate_gtm_workspaceDelete GTM Containerdelete_gtm_containerDelete GTM Entitydelete_gtm_entityEnable GTM Built-in Variablesenable_gtm_builtin_variablesGTM Pending Changesgtm_workspace_status