Master key onlyGenerated from lib/mcp.ts

dispatch_create_publication_from_template

Creates one city edition from a template. It inherits the template's sections, schedule, sender, and voice, with per-city overrides for name, timezone, and sending subdomain.

Create a publication from an edition template: inherits sections, cadence, send time, sender identity, voice rules, and sponsor slots. Override name/timezone/subdomain per city; overrides are recorded so template updates never clobber them. Returns the publication id, a scoped API key, and the signup embed. Master key only.

  • Use it when: To add a new city to an existing network.
  • Don't use it when: Do not use it to create a standalone publication. That is dispatch_create_publication.

Link and endpoint

Page link

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

Endpoint

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

Call it with method tools/call and name dispatch_create_publication_from_template.

Parameters

NameTypeRequiredDescription
template_idstringRequiredTemplate id
namestringOptionalPublication name, e.g. 'Daybreak Toronto' (defaults to the template name)
from_namestringOptionalOverride the sender name
taglinestringOptionalOverride the tagline
descriptionstringOptionalOverride the about text
slugstringOptionalURL slug override
timezonestringOptionalIANA timezone, e.g. 'America/Toronto'
sending_subdomainstringOptionalSending subdomain for reputation isolation, e.g. 'toronto'
autonomystringOptional'draft', 'review', or 'auto' (default 'auto')
cadencestringOptionalOverride the cadence
send_time_localstringOptionalOverride the local send moment, HH:MM

Returns

id string
The new publication id.
api_key string
The scoped key (dp_…). Shown once only.
publication_url string
The public page.
embed_snippet string
The signup form script.
template_id string
The template it was built from.

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