GTM: create variable (staged, never published)
gtm_create_variableCreate a user-defined variable STAGED in the managed AdCopilot workspace (never published).
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>",
"name": "<name>",
"type": "<type>"
},
"name": "gtm_create_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| container | Yes | ||
| parameter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |