Publication keyGenerated from lib/mcp.ts

dispatch_get_share_assets

Returns everything needed to promote one issue on social: its link, per-network links with tracking, the social image, and pre-written copy.

Get the social-promotion bundle for an issue: canonical URL plus per-network UTM-tagged URLs (X, Facebook, LinkedIn, WhatsApp, Telegram, email), the social image URL, pre-written copy per network (with character counts), and ready share-intent links. Use it to promote a sent issue on social, or to line up posts for a draft before it sends.

  • Use it when: Right after sending, or while lining up posts for a draft before it sends.
  • Don't use it when: Do not use it to send the issue. It only prepares promotion.

Link and endpoint

Page link

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

Endpoint

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

Call it with method tools/call and name dispatch_get_share_assets.

Parameters

NameTypeRequiredDescription
publicationIdstringRequiredPublication id
issueIdstringRequiredIssue id

Returns

canonical_url string
The issue's public page.
urls object
Per-network URLs (X, Facebook, LinkedIn, WhatsApp, Telegram, email) with UTM tags.
copy object
Pre-written post text per network, with character counts.
social_image_url string
The preview image for the post.

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.

Related

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

All tools