Publication keyGenerated from lib/mcp.ts

dispatch_set_publication_author

Sets which author a publication shows: link an author profile, or set per-publication override fields that win over the profile for this publication only.

Set which author a publication shows: link an author profile, or set per-publication override fields that win over the profile for this publication only. Pass an empty author_profile_id to clear the link and fall back to the owner name. A publication key can only link profiles its own owner made; the master key can link any profile.

  • Use it when: To move a publication under another brand, or to give one publication its own author name, avatar, or bio.
  • Don't use it when: Do not use it to change the profile itself. That is dispatch_update_author.

Link and endpoint

Page link

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

Endpoint

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

Call it with method tools/call and name dispatch_set_publication_author.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
author_profile_idstringOptionalAuthor profile id; empty string clears the link
author_namestringOptionalPer-publication override name; empty string clears it
author_avatar_urlstringOptionalPer-publication override avatar URL; empty string clears it
author_biostringOptionalPer-publication override bio; empty string clears it

Returns

publication object
The publication id, name, and slug.
author.name string
The name the publication now shows, after the override, profile, owner, and sender fallback.
author.source string
Where the name came from: override, profile, owner, or fromName.
author_profile object | null
The linked profile id and name, or null when no profile is linked.

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.
Publication not foundThe publicationId does not exist.List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>.
Author profile not foundThe author_profile_id does not exist.List authors to get the right id.
You can only link profiles your owner madeA publication key tried to link a profile owned by another operator.Link a profile the publication's owner made, or use the master key.

Related

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

All tools