Archive email template
lnkdrp_archive_email_templateArchives an email template, or unarchives it with archived: false. An archived template is kept and can still be read (lnkdrp_get_email_template, and lnkdrp_list_email_templates with state archived), but it cannot be edited or used to render an email until it is unarchived (template_archived). Emails already rendered from it still send, and nothing a recipient sees changes. Archived templates are not counted toward the workspace's cap on active templates (its plan's, capabilities.outreachLimits.templates in lnkdrp_whoami), so archiving one makes room. Unarchiving is refused with templates_limit (details.limit, details.plan) when the workspace is at that cap, and with name_taken when an active template has its name. Returns the template with its state, and changed: false when it already was in that state (nothing is written). A template that is not in this workspace, or is deleted, is not_found.
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": "lnkdrp_archive_email_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | true (default) archives the template; false unarchives it. | |
| templateId | Yes | Email template id (24 hex chars), from lnkdrp_list_email_templates. |