Duplicate a template
duplicate_templateCopy a template into a new one named " (Copy)" in the same organization, with its text, media, per-network overrides, options and tags. Returns the new template. Calling it again makes another copy.
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": {
"templateId": "<templateId>"
},
"name": "duplicate_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | Yes | The template ID (from list_templates) | |
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | No |