Publication keyGenerated from lib/mcp.ts

dispatch_send_test_issue

Sends one test copy of a drafted issue to the publication owner email only. No subscriber receives it. The copy renders the full issue with all sections, and the subject starts with '[Test] '. The issue stays a draft.

Send one test copy of a drafted issue to the publication owner email only. Use this to test a send: never use dispatch_send_issue for testing. The copy renders the full issue with all sections and no per-subscriber filtering, the subject starts with '[Test] ', and it records one test SendEvent that never counts in send analytics. The issue stays a draft. Refuses when the owner email is not set, when the owner has not confirmed, or when no Resend key is configured.

  • Use it when: To test a send before the real one: check the render, the links, and the subject in the owner's inbox.
  • Don't use it when: Do not use it to send to subscribers. That is dispatch_send_issue. Do not use it as a way around owner confirmation or a missing Resend key: it refuses in both cases.

Link and endpoint

Page link

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

Endpoint

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

Call it with method tools/call and name dispatch_send_test_issue.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
issueIdstringRequired—

Returns

sent number
Always 1: one test copy.
to string
The owner email that received the test copy.
subject string
The test subject, starting with '[Test] '.
test boolean
True. The recorded SendEvent is marked test and never counts in analytics.

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.Create the issue first, or list the publication's issues to get the right id.
Owner email is not set for this publication. Set the owner email before sending a test copy.The publication has no ownerEmail.Set the owner email on the publication, then confirm it from the inbox.
Owner confirmation required: the operator must confirm this publication via the emailed link before it can send, including a test send.The operator has not clicked the confirmation email yet.Ask the operator to confirm from their email. The publication cannot send until then.
RESEND_API_KEY is not configuredNo Resend key is configured for this publication.Configure a Resend key for managed sending, or the operator's own key for BYOK, then try again.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools