Master key onlyGenerated from lib/mcp.ts
dispatch_create_template
Creates an edition template: the shared shape for a whole newsletter network. City editions inherit its sections, schedule, sender, voice, and sponsor slots.
Create an edition template: the shared shape for a newsletter network (sections, send cadence and local send time, sender identity, voice rules, sponsor slot definitions). City publications inherit it via dispatch_create_publication_from_template. Master key only.
- Use it when: When starting a network of city editions from one shared design.
- Don't use it when: Do not use it for a single standalone publication. That is dispatch_create_publication.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_create_templateEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_create_template.
Parameters
| Name | Type | Required | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name | string | Required | Template name, e.g. 'Daybreak city edition' | ||||||||||||||||||||
description | string | Optional | What this template is for | ||||||||||||||||||||
sections | array | Optional | Fixed edition sections, e.g. [{name: 'This week', prompt: '...'}] | ||||||||||||||||||||
cadence | string | Optional | Send rhythm, e.g. 'daily' (default 'daily') | ||||||||||||||||||||
send_time_local | string | Optional | Local send moment as HH:MM, e.g. '06:00' | ||||||||||||||||||||
timezone | string | Optional | IANA timezone for the send moment, e.g. 'America/Toronto' | ||||||||||||||||||||
from_name | string | Required | Sender name shown on emails | ||||||||||||||||||||
reply_to_email | string | Optional | Reply-to address | ||||||||||||||||||||
accent_color | string | Optional | Theme color as hex, e.g. #BE1010 | ||||||||||||||||||||
tagline | string | Optional | One-line pitch inherited by child editions | ||||||||||||||||||||
voice_rules | string | Optional | Style/voice rules agents follow when composing issues | ||||||||||||||||||||
slots | array | Optional | Sponsor slot definitions inherited by every child edition | ||||||||||||||||||||
| |||||||||||||||||||||||
| |||||||||||||||||||||||
Returns
template.idstring- The template id.
template.cadencestring- How often editions send.
template.send_time_localstring- Local send time, HH:MM.
template.slots_definednumber- How many sponsor slots were defined.
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. |
Related
dispatch_create_publication_from_template→dispatch_list_templates→- Help article →
- Open the Network dashboard →
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.