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_authorEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_set_publication_author.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | — |
author_profile_id | string | Optional | Author profile id; empty string clears the link |
author_name | string | Optional | Per-publication override name; empty string clears it |
author_avatar_url | string | Optional | Per-publication override avatar URL; empty string clears it |
author_bio | string | Optional | Per-publication override bio; empty string clears it |
Returns
publicationobject- The publication id, name, and slug.
author.namestring- The name the publication now shows, after the override, profile, owner, and sender fallback.
author.sourcestring- Where the name came from: override, profile, owner, or fromName.
author_profileobject | null- The linked profile id and name, or null when no profile is linked.
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. |
Publication not found | The publicationId does not exist. | List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>. |
Author profile not found | The author_profile_id does not exist. | List authors to get the right id. |
You can only link profiles your owner made | A 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.