{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create a clone of a template with the given template ID.\n\nIf there are 1,000 or more templates in an account, cloning will fail as there is a limit of 1,000 templates that can be created via the API.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `750/m`\n\n**Scopes:**\n`templates:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable/apis/clone_template.json)","properties":{"query":{"type":"object","properties":{"fields[template]":{"type":"array","items":{"type":"string","enum":["amp","created","editor_type","html","id","name","screenshot_url","text","updated"]},"description":"For more information please visit https://developers.klaviyo.com/en/v2026-10-15/reference/api-overview#sparse-fieldsets"}},"required":[],"additionalProperties":false},"headers":{"type":"object","properties":{"revision":{"type":"string","default":"2026-10-15","enum":["2026-10-15"],"description":"API endpoint revision (format: YYYY-MM-DD[.suffix])"}},"required":["revision"],"additionalProperties":false},"body":{"$ref":"#/definitions/TemplateCloneQuery"}},"required":["headers","body"],"additionalProperties":false,"definitions":{"TemplateCloneQuery":{"type":"object","properties":{"data":{"$ref":"#/definitions/TemplateCloneQueryResourceObject"}},"required":["data"]},"TemplateCloneQueryResourceObject":{"type":"object","properties":{"type":{"$ref":"#/definitions/TemplateEnum"},"id":{"description":"The ID of template to be cloned","type":"string"},"attributes":{"type":"object","properties":{"name":{"description":"The name of the template","type":["string","null"],"examples":["Clone of Monthly Newsletter Template"]}}}},"required":["type","id","attributes"]},"TemplateEnum":{"type":"string","enum":["template"]}}},"name":"Clone Template","id":"klaviyo.clone_template","example":{"headers":{"revision":"2026-10-15"},"body":{"data":{"type":"template","id":"example","attributes":{}}}},"maxRequests":1,"summary":false}}