Create Client
create_clientCreates a client resource in a specified Google Tag Manager workspace. Use only for server containers; web containers are not supported.
Instructions
Create a client in a workspace.
Only server containers accept clients. Creating one in a web container fails.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"client": "<client>"
},
"name": "create_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | Client resource. Requires name and type, e.g. {"name": "GA4 client", "type": "gaaw_client", "priority": 0, "parameter": [{"type": "boolean", "key": "activateGa4Support", "value": "true"}]}. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||