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_templateEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_create_publication_from_template.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
template_id | string | Required | Template id |
name | string | Optional | Publication name, e.g. 'Daybreak Toronto' (defaults to the template name) |
from_name | string | Optional | Override the sender name |
tagline | string | Optional | Override the tagline |
description | string | Optional | Override the about text |
slug | string | Optional | URL slug override |
timezone | string | Optional | IANA timezone, e.g. 'America/Toronto' |
sending_subdomain | string | Optional | Sending subdomain for reputation isolation, e.g. 'toronto' |
autonomy | string | Optional | 'draft', 'review', or 'auto' (default 'auto') |
cadence | string | Optional | Override the cadence |
send_time_local | string | Optional | Override the local send moment, HH:MM |
Returns
idstring- The new publication id.
api_keystring- The scoped key (dp_…). Shown once only.
publication_urlstring- The public page.
embed_snippetstring- The signup form script.
template_idstring- The template it was built from.
Errors
| Error | When it happens | Fix |
|---|---|---|
Master key required | A 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 found | The 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.