workspace_quick_preview
Creates a debug preview link for a GTM workspace and returns a preview container version listing any compilation errors. Enables preview mode only; it does not publish changes.
Instructions
Generate a quick-preview (debug) link for a GTM workspace. This does NOT publish — it just enables preview mode. Returns a preview container version with any compilation errors.
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>"
},
"name": "workspace_quick_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| containerId | Yes | ||
| workspaceId | Yes |