Publication keyGenerated from lib/mcp.ts
dispatch_update_issue
Edits a draft or scheduled issue: subject, body, schedule, or social preview. Sent issues cannot be edited.
Edit a draft or scheduled issue: subject, Markdown body, schedule, topics, or SEO metadata (seo_title, seo_description, social_image_url, the Substack-style per-post settings). Cannot edit an issue that is already sent or sending. Pass scheduled_at as null to unschedule back to draft. Pass topics as game slugs to retag the issue; an empty array untags it.
- Use it when: To fix a draft, change a send time, or update the preview image before it goes out.
- Don't use it when: Do not use it on a sent issue. That is final. Write a correction as a new issue instead.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_update_issueEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_update_issue.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | — |
issueId | string | Required | — |
subject | string | Optional | New email subject / issue title |
markdown | string | Optional | Full replacement issue body in Markdown |
scheduled_at | string | null | Optional | ISO 8601 timestamp to schedule; null to unschedule |
topics | array | Optional | Topic slugs this issue covers, e.g. ['headline-scramble'] |
seo_title | string | Optional | SEO title override; defaults to the subject |
seo_description | string | Optional | Meta description override; defaults to the auto excerpt |
social_image_url | string | Optional | Social preview image URL; defaults to the first image in the issue |
Returns
issue.idstring- The issue id.
issue.slugstring- The URL slug (unchanged).
issue.statusstring- 'draft' or 'scheduled' after the edit.
Errors
| Error | When it happens | Fix |
|---|---|---|
Not authorized for this publication | The key belongs to a different publication. | Use the publication key shown on that publication's Overview page, or the master key. |
Issue not found | The issueId does not belong to this publication. | Check the issue id on the publication's Overview page. |
Issue already sent; it cannot be edited | The issue is sent or sending. | Send a correction as a new issue. Sent email cannot be changed. |
Related
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.