Choose who can publish an email template
lnkdrp_set_email_template_publish_modeSets who may publish an email template (edit it live, publish a draft, restore a version): default (follow the workspace's setting, lnkdrp_update_settings), owners (the template's owner and workspace owners and admins), chosen (they and up to 5 more members, userIds by id or email address) or everyone (every member; viewers cannot publish). Everyone else saves their changes as a draft for them. chosen and everyone are not available on every plan: where the workspace's plan does not include them it is plan_limit, a saved choice is paused, and keeping or narrowing it still works. They are Pro; on Free the refusal carries upgradeUrl. The template's owner, workspace owners and admins, and in owners or chosen mode its publishers may change it; anyone else is forbidden with details.code cannot_edit_publishers. A private template is published by its owner only (validation). LinkDrop asks the person to confirm first. Returns publishing (mode, paused, publishers) and changed.
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>",
"mode": "<mode>"
},
"name": "lnkdrp_set_email_template_publish_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | default, owners, chosen (with userIds) or everyone. | |
| confirm | No | The person's yes to the preview LinkDrop returned for this same action. | |
| userIds | No | For chosen: member user ids or email addresses (up to 5 after owners and admins are left out). | |
| templateId | Yes | Email template id (24 hex chars), from lnkdrp_list_email_templates. | |
| alwaysAllow | No | Records the person's own standing permission for this tool on this connection. | |
| confirmationToken | No | The confirmationToken from that preview. |