Get Template
get_templateRetrieve a specific custom template with its sandboxed JavaScript source by providing account, container, workspace, and template IDs.
Instructions
Get one custom template, including its sandboxed JavaScript source.
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>",
"template_id": "<template_id>"
},
"name": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| template_id | Yes | Numeric template ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||