GTM: enable built-in variable (staged, never published)
gtm_enable_built_in_variableEnable a built-in variable in the managed AdCopilot workspace (staged, never published; enable-only: disabling is a delete and is intentionally not exposed).
The first write to a container adds a draft workspace named AdCopilot
if it has none. AdCopilot has no Tag Manager publish permission, so
nothing reaches the website until a person publishes that workspace
in Tag Manager.Tools revision: d80f65c0.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"container": "<container>",
"type": "<type>"
},
"name": "gtm_enable_built_in_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| container | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |