clients_create
Creates a new Google Tag Manager client by submitting a full JSON resource to a specified account, container, and workspace. Requires write access enabled and explicit confirmation.
Instructions
[WRITE] Create a new GTM client. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. Pass the full resource as a JSON string in bodyJson.
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>",
"bodyJson": "<bodyJson>",
"confirm": "<confirm>"
},
"name": "clients_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| bodyJson | Yes | Full clients resource as a JSON string (e.g. {"name":"...","type":"..."}). | |
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace ID. |