Skip to Content

update_template_settings

Change a saved template's send settings, as the builder's Settings step: only the settings you pass change. routing (sequential = one role after another, parallel = everyone at once), subject and message (may use {{placeholders}} such as {{Recipient 1 name}}, {{Template name}}, {{Workspace}}), reminder_cadence, expiry_days (null = links never expire), warn_before_expiry, cc (replaces the fixed copies), sender_role ("Who sends this?": a role key from the template's roles, always the person sending; null = none of them; only the person's own choice, never guess it).

destructiveSends, cancels or emails people. Clients ask you before running it.

What it does

Change a saved template's send settings, as the builder's Settings step: only the settings you pass change. routing (sequential = one role after another, parallel = everyone at once), subject and message (may use {{placeholders}} such as {{Recipient 1 name}}, {{Template name}}, {{Workspace}}), reminder_cadence, expiry_days (null = links never expire), warn_before_expiry, cc (replaces the fixed copies), sender_role ("Who sends this?": a role key from the template's roles, always the person sending; null = none of them; only the person's own choice, never guess it). It changes the template's DRAFT of its next version (what the app's builder shows): sends keep using the current version until the draft is finalised (finalise_template, with expected_base_version = current_version from this result; issues with severity blocking must be fixed first). Owners and admins only (403 otherwise). Returns the draft's roles, settings and remaining issues.

Inputs

NameTypeDescription
template_idrequiredstringA saved template's template_id from list_templates (kind saved).Up to 64 characters
routingstringOne of: sequential, parallel
subjectstringUp to 400 characters
messagestringUp to 4000 characters
reminder_cadencestringdaily, 3d (every 3 days), 7d (every week) or off.One of: daily, 3d, 7d, off
expiry_daysinteger | nullDays after sending the links stop working; null = never.1 to 365
warn_before_expirybooleanEmail recipients before their link expires.
ccobject[]Who always gets a copy (copy only, never fills). Replaces the current list.Up to 20 items
emailrequiredstringUp to 254 characters
namestringUp to 120 characters
sender_rolestring | nullA role key, or null for none of them.

Call it

Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_template_settings",
    "arguments": {
      "template_id": "<template_id>"
    }
  }
}

Input schema

The JSON Schema the server lists for this tool in tools/list.

{
  "type": "object",
  "properties": {
    "template_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "A saved template's template_id from list_templates (kind saved)."
    },
    "routing": {
      "type": "string",
      "enum": [
        "sequential",
        "parallel"
      ]
    },
    "subject": {
      "type": "string",
      "maxLength": 400
    },
    "message": {
      "type": "string",
      "maxLength": 4000
    },
    "reminder_cadence": {
      "type": "string",
      "enum": [
        "daily",
        "3d",
        "7d",
        "off"
      ],
      "description": "daily, 3d (every 3 days), 7d (every week) or off."
    },
    "expiry_days": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 365,
      "description": "Days after sending the links stop working; null = never."
    },
    "warn_before_expiry": {
      "type": "boolean",
      "description": "Email recipients before their link expires."
    },
    "cc": {
      "type": "array",
      "maxItems": 20,
      "description": "Who always gets a copy (copy only, never fills). Replaces the current list.",
      "items": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254
          },
          "name": {
            "type": "string",
            "maxLength": 120
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      }
    },
    "sender_role": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[a-z][a-z0-9_]{0,39}$",
      "description": "A role key, or null for none of them."
    }
  },
  "required": [
    "template_id"
  ],
  "additionalProperties": false
}

On this page