Raw Tag Manager API call
raw_requestDirectly call any Google Tag Manager API v2 endpoint, such as environments, folders, and templates, to perform operations not covered by dedicated tools.
Instructions
Escape hatch to call any Google Tag Manager API v2 path directly, for endpoints without a dedicated tool (environments, folders, templates, zones, workspace :sync / :quick_preview, version_headers, ...). path is relative to /tagmanager/v2/, e.g. "accounts/1/containers/2/environments". query values may be arrays for repeated params. Requests go through the same OAuth, rate limiter and retries as every other tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (POST/PUT). | |
| path | Yes | API path relative to /tagmanager/v2/, e.g. "accounts/1/containers/2/version_headers". | |
| query | No | Query parameters; use an array for repeated keys, e.g. { "type": ["pageUrl", "event"] }. | |
| method | No | HTTP method. Defaults to GET. |