{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update an existing template","properties":{"path":{"type":"object","properties":{"id":{"type":"string","description":"The Template ID or alias."}},"required":["id"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateTemplateOptions"}},"required":["path"],"additionalProperties":false,"definitions":{"UpdateTemplateOptions":{"type":"object","properties":{"name":{"type":"string","description":"The name of the template."},"alias":{"type":"string","description":"The alias of the template."},"from":{"type":"string","description":"Sender email address. To include a friendly name, use the format \"Your Name <sender@domain.com>\"."},"subject":{"type":"string","description":"Email subject."},"reply_to":{"type":"array","items":{"type":"string"},"description":"Reply-to email addresses."},"html":{"type":"string","description":"The HTML version of the template."},"text":{"type":"string","description":"The plain text version of the template."},"variables":{"type":"array","items":{"$ref":"#/definitions/TemplateVariableInput"}}}},"TemplateVariableInput":{"type":"object","properties":{"key":{"type":"string","description":"The key of the variable."},"type":{"type":"string","description":"The type of the variable.","enum":["string","number","boolean","object","list"]},"fallback_value":{"description":"The fallback value of the variable.","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":{}}]}},"required":["key","type"]}}},"name":"Update an existing template","id":"resend.templates.update","example":{"path":{"id":"example"}},"maxRequests":1,"summary":false}}