Master key onlyGenerated from lib/mcp.ts

dispatch_update_template

Changes a template and pushes the change to every child publication, except fields a publication overrode itself. Those are never overwritten.

Update an edition template and propagate changed fields to every child publication, except fields a publication overrode itself (those are never clobbered). Returns what changed, how many publications were updated, and which fields were skipped per publication. Master key only.

  • Use it when: To change the shared schedule, voice, or sections for a whole network at once.
  • Don't use it when: Do not use it to change one city only. Update that publication directly instead.

Link and endpoint

Page link

https://dispatch.nshipyard.com/support/mcp/dispatch_update_template

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_update_template.

Parameters

NameTypeRequiredDescription
template_idstringRequiredTemplate id
namestringOptionalNew template name
descriptionstringOptionalNew description
sectionsarrayOptional—
cadencestringOptionalNew cadence
send_time_localstringOptionalNew local send moment, HH:MM
timezonestringOptionalNew IANA timezone
from_namestringOptionalNew sender name
reply_to_emailstringOptionalNew reply-to address
accent_colorstringOptionalNew theme color hex
taglinestringOptionalNew tagline
voice_rulesstringOptionalNew voice/style rules

sections items:

namestringRequired—
promptstringRequired—

Returns

template_id string
The template id.
changed_fields array
Which fields changed.
publications_updated number
How many child publications received the change.
skipped_overrides array
Fields skipped per publication because that city overrode them.

Errors

ErrorWhen it happensFix
Master key requiredA publication key (dp_…) was used for a master-only tool.Use the master key. If you do not have it, ask the Dispatch operator; a publication key cannot do this.
Template not foundThe template_id does not exist.List templates to get the right id.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools