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_issue

Endpoint

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

Call it with method tools/call and name dispatch_update_issue.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
issueIdstringRequired—
subjectstringOptionalNew email subject / issue title
markdownstringOptionalFull replacement issue body in Markdown
scheduled_atstring | nullOptionalISO 8601 timestamp to schedule; null to unschedule
topicsarrayOptionalTopic slugs this issue covers, e.g. ['headline-scramble']
seo_titlestringOptionalSEO title override; defaults to the subject
seo_descriptionstringOptionalMeta description override; defaults to the auto excerpt
social_image_urlstringOptionalSocial preview image URL; defaults to the first image in the issue

Returns

issue.id string
The issue id.
issue.slug string
The URL slug (unchanged).
issue.status string
'draft' or 'scheduled' after the edit.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe key belongs to a different publication.Use the publication key shown on that publication's Overview page, or the master key.
Issue not foundThe issueId does not belong to this publication.Check the issue id on the publication's Overview page.
Issue already sent; it cannot be editedThe 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.

All tools