mcp
v4.1.0MCP server for Paragraph — expose your publication to AI agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list-agents List agents
List the agents this publication can run, such as the Changelog (turns what the team shipped on GitHub into an article, a newsletter, and X and LinkedIn posts), SEO/AEO, and thought leadership. Each agent describes its own settings (`fields`), what it can make (`deliverables`), and how this publication has it set up (`setup`, null until it is set up). Call this first whenever the user mentions one of these agents, to find its `key` and the field keys `configure-agent` takes. Don't guess field keys. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
get-agent Get agent
Get one agent: its settings (`fields`), what it can make (`deliverables`), and this publication's current `setup`. Call this before `configure-agent` for the keys it takes. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
key * | string | Which agent, such as `changelog` |
configure-agent Set up agent
Set an agent up, or change its setup. The team sees the same setup in the Paragraph app, and the next run uses it. **Send only what should change.** Whatever you leave out stays as it is. Call `get-agent` first for the field and deliverable keys. - `values`: keyed by the field keys from `get-agent`, and merged into the current values. On a first setup, fill every field marked `required`, and ask the user rather than inventing an answer. - `deliverables`: the full list of deliverable keys to make. Ones left out are turned off; required ones are always included. - `repository`: for the Changel…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
key * | string | Which agent, such as `changelog` |
deliverables | array | Which deliverables to make. A required one is always included. |
repository | string | A public GitHub repository as `owner/name`. A public one needs no connection. |
values | object | Settings keyed by the field keys from `GET /v1/agents` |
start-agent-run Start agent run
Start a run of an agent this publication has already set up (see `configure-agent`). It returns a `runId` straight away, and the run takes several minutes. Check it with `get-agent-run`. **Nothing publishes.** A run writes drafts that someone on the team reviews and approves, in the Paragraph app or with `launch-agent-run`. Say so when you report back. `instructions` steers this one run, such as "focus on the billing launch". Each run counts toward the plan's runs, so start one only when the user asks. Reuse the same `idempotencyKey` when retrying a call that may have gone through, so it doe…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
key * | string | Which agent, such as `changelog` |
idempotencyKey | string | Your own key for this run. Sending it again returns the same run instead of starting a second one. Defaults to a new key. |
instructions | string | A note to steer this one run |
get-agent-run Get agent run
Check a run: its `status` and the drafts (`deliverables`) it has written so far. A run is finished when `status` is `succeeded`, `completed_with_warnings`, `failed`, `blocked`, or `canceled`. While it is `queued` or `running`, wait a minute before checking again rather than polling in a tight loop. The drafts are reviewed and approved in the Paragraph app, or launched with `launch-agent-run`. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
key * | string | Which agent, such as `changelog` |
runId * | string | The run to read |
list-agent-runs List agent runs
List an agent's recent runs, newest first, with each run's status and drafts. Use this to find a run the user started earlier, or to see whether one is already in progress before starting another. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
key * | string | Which agent, such as `changelog` |
limit | integer | How many to return, up to 50. Defaults to 10. |
launch-agent-run Launch agent run
Approve a finished run's pieces together, the way the app's launch does. `start` picks when they go out: `suggested` (default) each at its suggested time, `now` starting now with their spacing kept, `all_now` all of them now, `launch` the article at its time with its launch posts, or `launch_now` the article and its launch posts now and the rest after. This counts the same as approving in the app and everything goes out publicly, so only call it when the user explicitly asks, after they've seen the pieces and the start. With no `entries` it launches every piece of the run that's waiting for a…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
key * | string | Which agent, such as `changelog` |
runId * | string | The run to read |
entries | array | The run's entries to launch, from `GET /v1/schedule` |
start | string | |
timeZone | string | IANA time zone that `launch_now` keeps follow-up times of day in. Defaults to UTC |
chat Chat with Paragraph
Ask Paragraph to do anything it does in its app's chat, in plain words: make a cover or other images for a post, change the brand, set up an automation, edit the website, draft X and LinkedIn posts as the founder or the company, and more. Use it for anything the other tools don't cover. Leave out `sessionId` to start a new chat. To follow up on the same work, send the `sessionId` from the last reply so Paragraph keeps the context. When the request is about one post, such as reviewing it before publishing, send its `postId` too. A reply can take a few minutes. If it says Paragraph is still wo…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
message * | string | What to ask, as you would in the app's chat |
postId | string | A post of this publication the chat is about, as when chatting beside it in the editor. A chat keeps the first post it's given |
sessionId | string | Continue this chat. Leave out to start a new one |
get-chat-reply Get chat reply
Get Paragraph's reply to the latest message in a chat started with `chat`. Call it while the reply says Paragraph is still working. Each call waits up to about 45 seconds for it to finish. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
sessionId * | string | The chat, from `POST /v1/chat` |
get-post Get post
Get a single post by ID, or by publication slug + post slug
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
id | string | Post ID |
includeContent | boolean | string | Include post content (default: true). Returns the Tiptap `json` document plus a lossy `markdown` rendering of it. Always read `json` before editing — it is the real document, with the exact text, hy… |
postSlug | string | Post slug (use with publicationSlug) |
publicationSlug | string | Publication slug (use with postSlug) |
list-posts List posts
List posts from a publication by publication ID, or list your own posts (requires API key). Supports pagination and status filtering. Tip: if you only need the total count, set limit to 1 — the response includes pagination.total. Start with a small limit and increase only if needed, as large limits may produce oversized responses.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
cursor | string | Cursor from the previous page's pagination.cursor. A cursor that isn't from this list returns 400. |
includeContent | boolean | string | Include post content as markdown (default: false) |
limit | integer | Number of posts to return (default: 10). Keep this small to avoid oversized responses — use pagination to retrieve more. |
publicationId | string | Publication ID to list posts from. Omit to list your own posts (requires API key). |
status | string | Filter by status (only for own posts) |
create-post Create post
Create a post in your publication. Defaults to a draft — set status to 'published' only with explicit user approval, as this makes the post publicly visible. Set scheduledAt to a future Unix ms timestamp to schedule first-publish — confirm with the user before scheduling, as the post will be published automatically at the scheduled time. Requires API key. Provide the body as either markdown (plain prose the server converts to rich content) or bodyJson (a Tiptap document — use it when the post needs links, embedded videos, tweets, cards, or buttons), but not both. Note that editing a post…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
title * | string | Post title |
authorIds | array | User ids to credit as the post's authors, in byline order. Each id must be the publication's owner or an active team member; ids from outside the publication are rejected. Omit to credit the API key's… |
bodyJson | string | Post body as a Tiptap document. A JSON-stringified Tiptap document (e.g. '{"type":"doc","content":[...]}'). It accepts ANY node the editor supports — paragraphs and headings, but also `link` marks a… |
categories | Optional array of category tags for the post. Can also be a comma-separated string. | |
imageAlt | string | Alternative text describing the cover image. Only used when imageUrl is provided. |
imageUrl | string | Optional URL to the post's cover image |
markdown | string | Post content in markdown format. Provide markdown OR bodyJson, not both. |
postPreview | string | Preview text used as the meta description in social cards, search results, and archive listings. Keep under 145 characters so it renders without truncation in Google, X, and Farcaster link previews. |
scheduledAt | integer | Optional Unix timestamp (milliseconds) to schedule first-publish of the post at a future time. Must be in the future. Cannot be combined with status: 'draft'. When set, the post is created and queued… |
sendNewsletter | Whether to send an email newsletter to subscribers. Default: false | |
slug | string | Optional URL-friendly identifier for the post. If not provided, will be generated from title |
status | string | Post status. Defaults to 'draft'. Only set to 'published' with explicit user approval. |
subtitle | string | Optional subtitle or brief summary |
update-post Update post
Update an existing post by ID or slug. Only provided fields are updated — omit any field you don't want to change. Requires API key. To change the body, call get-post first and send the edited Tiptap document back as `bodyJson` — that is the only body channel, so a post's text, links, and embeds are always edited from the real document rather than a lossy copy. Do NOT pass `status` unless you explicitly intend to change the publish state — and always confirm with the user before any status change: `status: 'published'` publishes the post, `status: 'draft'` unpublishes a live post, `statu…
delete-post Delete post
Permanently delete a post by ID or slug. This action is irreversible. Always confirm with the user before deleting. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
id | string | Post ID |
slug | string | Post slug |
send-test-email Send test email
Send a test newsletter email for a draft post to the publication owner. Only works for draft posts. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
id * | string | Post ID |
create-content Create content draft
Save a finished piece of short-form content to the publication's library — an X post or thread, a LinkedIn post, a one-off email, or an X article. **This drafts, it does not send.** The piece shows up in the Paragraph app under Content. Nothing is posted to X or LinkedIn, emailed, or scheduled by this tool; `publish-content` does that. Say that when you report back; don't imply the piece went out. **Do NOT use this for a full Paragraph post.** A post is long-form writing that lives on the publication's website and can go out as a newsletter — that's `create-post`. This tool is the short-…
| Parameter | Type | Description |
|---|---|---|
body * | object | The artifact itself, in the shape this kind uses |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
kind * | string | What kind of piece this is |
title * | string | What this piece is called in your library. Sentence case, no trailing period. Not published anywhere — for an X article headline, use `body.title`. |
bucketId | string | Group this piece with the post it was made from, so the writer sees them together in Content. Get the id from `POST /v1/posts/{postId}/bucket`. Omit for standalone work that isn't derived from anythin… |
list-content List content
List the short-form content in your publication's library — X posts, LinkedIn posts, one-off emails, and X articles — newest activity first. Filter with `kind` and `status`. `status` defaults to `all`, which is everything except the pieces the writer archived; a piece that was delivered stays listed whether or not it was archived afterwards. Bodies aren't included — call `get-content` to read one. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
cursor | string | Cursor for pagination |
kind | string | Filter by content kind |
limit | integer | Number of pieces to return (1-50, default: 20). Keep this small to avoid oversized responses — use pagination to retrieve more. |
status | string | Filter by lifecycle. `all` (default) is drafts plus delivered pieces; `archived` is the pieces you've put away and never delivered. |
get-content Get content
Get one piece of drafted content with its body. Read it before editing so you rewrite what's actually saved — the draft may have changed in the app. `lockedReason` says why the piece can't be edited right now, or is null when it can. Requires API key.
| Parameter | Type | Description |
|---|---|---|
contentId * | string | Unique identifier of the content |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
update-content Update content
Rename a piece of content, replace its body, or both. Requires API key. **Read before you write.** Call `get-content` first: the draft may have changed in the app since you last saw it, and `body` replaces the artifact entirely — in the same shape the kind takes on create. Send the whole thing, not just the part that changed. For a saved rich newsletter, preserve its complete `bodyJson` document; a Markdown rewrite can lose formatting and media. Never provide Markdown `body` together with `bodyJson`. Creation or editing does not approve delivery. Existing X and LinkedIn attachments are carr…
| Parameter | Type | Description |
|---|---|---|
contentId * | string | Unique identifier of the content |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
body | object | The replacement artifact, in the shape this piece's kind uses |
bucketId | string | Group this piece with the post it was made from, so the writer sees them together in Content. Get the id from `POST /v1/posts/{postId}/bucket`. Omit for standalone work that isn't derived from anythin… |
title | string | New name for this piece in your library |
archive-content Archive content
Put a piece away without deleting it. Archived content drops out of the default `list-content` results and out of the writer's Content surface, and `restore-content` brings it back. Any suggestion still proposing the piece is dismissed along with it. A piece with a send already queued can't be archived — tell the user to cancel the schedule in the app first. Requires API key.
| Parameter | Type | Description |
|---|---|---|
contentId * | string | Unique identifier of the content |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
restore-content Restore content
Bring an archived piece back into the library. Suggestions dismissed when it was archived stay dismissed — the writer gets the draft back, not the to-do items telling them to ship it. Use `list-content` with `status: "archived"` to find the piece. Requires API key.
| Parameter | Type | Description |
|---|---|---|
contentId * | string | Unique identifier of the content |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
publish-content Publish content
Post an X post, X article, or LinkedIn post now, or schedule an X or LinkedIn post with `publishAt` (within the next 30 days). This counts the same as approving in the app and posts publicly, so only call it when the user explicitly asks. Pass `updatedAt` from `get-content` so it's refused if the draft changed since the user saw it. A piece already on the Calendar is approved with `approve-entry` instead. Requires API key.
| Parameter | Type | Description |
|---|---|---|
contentId * | string | Unique identifier of the content |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
publishAt | string | When to publish, ISO 8601, within the next 30 days. Omit to publish now |
updatedAt | string | The piece's `updatedAt` from when you reviewed it, to refuse the publish if it changed since |
list-schedule List the schedule
List what's on the Calendar from 30 days ago to 30 days ahead: pieces the agents made with a proposed time (`needsApproval`), what's scheduled, what's on hold (`holdReason`), what went out, and what failed (`failureReason`). Filter with `status`. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
status | string | Only entries in this state |
list-publishing-accounts List publishing accounts
List the X and LinkedIn accounts connected to the publication, to pick one for `change-entry-account`. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
approve-entry Approve schedule entry
Approve a schedule entry so it goes out at its time, or set `publishNow` to send it now. `publishNow` is also how to retry an entry that failed, and approving releases a hold. Approving counts the same as approving in the app and the piece goes out publicly, so only do it when the user explicitly asks. Pass `entryRevision` and `contentRevision` from `list-schedule` so the approval is refused if the piece changed since the user saw it. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
entryId * | string | Unique identifier of the schedule entry |
contentRevision | string | From the entry you reviewed. Omit to approve it as it is now |
entryRevision | integer | From the entry you reviewed. Omit to approve it as it is now |
publishNow | boolean | Send it now instead of at its time. Retries a failed send |
approve-all-entries Approve all schedule entries
Approve every schedule entry waiting for approval except those on hold, or only the ones in `entries`. Reports which were approved and why any failed. Approving counts the same as approving in the app and the piece goes out publicly, so only do it when the user explicitly asks. Pass `entryRevision` and `contentRevision` from `list-schedule` so the approval is refused if the piece changed since the user saw it. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
entries | array | Omit to approve everything waiting for approval |
reschedule-entry Reschedule entry
Move a schedule entry to a new time within the next 30 days. It needs approval again at its new time, so call `approve-entry` after if the user wants it to go out. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
entryId * | string | Unique identifier of the schedule entry |
publishAt * | string | The new time, ISO 8601 |
entryRevision | integer | From the entry you reviewed, to refuse a stale change |
unschedule-entry Unschedule entry
Take a schedule entry off the Calendar without sending it. The draft stays in the library, and an approved entry is no longer approved. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
entryId * | string | Unique identifier of the schedule entry |
hold-entry Hold entry
Pause a schedule entry where it is on the Calendar, with an optional `reason`. It won't go out, and `approve-all-entries` skips it, until it's approved by name with `approve-entry`. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
entryId * | string | Unique identifier of the schedule entry |
entryRevision | integer | From the entry you reviewed, to refuse a stale change |
reason | string | Why it's on hold, shown on the Calendar |
change-entry-account Change entry account
Post an X or LinkedIn schedule entry from another connected account, using an `accountId` from `list-publishing-accounts`. The entry is held until it's approved again. Requires API key.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | From `GET /v1/schedule/accounts` |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
entryId * | string | Unique identifier of the schedule entry |
entryRevision | integer | From the entry you reviewed, to refuse a stale change |
list-content-buckets List content groups
List the content groups in the publication, most recently active first. Each group is a post plus everything made out of it, with its members in display order and the post first. Bodies aren't included — read a member with `get-content` or `get-post`. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
cursor | string | Cursor for pagination |
limit | integer | Number of groups to return (1-50, default: 20). Keep this small to avoid oversized responses — use pagination to retrieve more. |
get-content-bucket Get content group
Get one content group and everything already made from its post. Requires API key. **Read this before drafting a new version**, so you don't remake something that exists. If the group already holds a `tweet`, the thread has been written; say so rather than writing a second one, unless the user asks for a replacement. Each member's `kind` says where to read it: `post` with `get-post`, `content` with `get-content`. A `kind` of `other` is a member Paragraph groups but this API can't fetch.
| Parameter | Type | Description |
|---|---|---|
bucketId * | string | Unique identifier of the content group |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
get-post-content-bucket Get a post's content group
Find the content group a post belongs to, without creating one. Answers `null` when nothing has been made from the post yet. Use this to check whether a post has already been repurposed; use `create-post-content-bucket` when you are about to draft something from it. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
postId * | string | Unique identifier of the post |
create-post-content-bucket Create a post's content group
Get the content group for a post, creating it if this is the first thing made from that post. Requires API key. A content group is one identity for a post and everything made out of it — the post, the X thread drawn from it, the LinkedIn version, the newsletter. The writer sees it as a single stacked row under Content in the Paragraph app. **This is the first call when repurposing a post.** Seed the group here, then pass the `bucketId` it returns on every `create-content` call derived from that post. Without it the writer gets unrelated drafts that don't know about each other. Safe to cal…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
postId * | string | Unique identifier of the post |
get-publication Get publication
Get metadata about a Paragraph publication by ID, slug, or custom domain. Provide exactly one identifier and omit the other fields. Empty strings are treated as omitted.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
domain | string | Custom domain of the publication |
id | string | Unique identifier of the publication |
slug | string | Publication slug |
update-publication Update publication
Update settings for the publication associated with the API key. Only provided fields are updated — omit any field you don't want to change. The `publicationId` must match the publication that owns the API key (call `get-me` to look it up). Notes: `featuredPost` accepts 'latest', 'popular', 'disabled', or a specific post ID — if you pass an ID it must belong to this publication. `pinnedPostIds` replaces the existing pinned list and is capped at 50 IDs; pinned posts render in their own section above the regular feed. `emailNotifications` is merged onto current settings — only the toggles…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
publicationId * | string | Publication to update. Must match the publication that owns the API key. |
bodyFont | string | Font family used for body text |
emailNotifications | object | Owner-side email notification toggles. Merged onto existing settings — only the toggles you send change. |
enableSubscribePopup | boolean | Whether to show the subscribe popup to first-time visitors arriving from external links |
enableSubscribeScroll | boolean | Whether to show the subscribe popup when first-time visitors scroll a post |
enableTableOfContents | boolean | Whether the table of contents is enabled on posts |
featuredPost | string | Featured post selector. Use 'latest', 'popular', 'disabled', or a post ID belonging to this publication. |
headerFont | string | Font family used for headers |
hideStats | boolean | Whether to hide stats like subscriber count, post count, and collects |
name | string | Display name of the publication |
pinnedPostIds | array | Ordered list of post IDs to pin to the homepage. Replaces the existing pinned list. Each ID must belong to this publication. Maximum 50. |
postListType | string | Homepage layout. 'feed' is a single-column list of cards, 'grid' is a 3-column grid, 'full-post' shows full posts in a single column. |
showMostPopular | boolean | Whether to show the 'most popular posts' widget |
summary | string | Brief description of the publication (max 500 characters) |
themeColor | string | Theme accent color for the publication |
list-subscribers List subscribers
List subscribers for your publication with pagination. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
cursor | string | Cursor for pagination |
limit | integer | Number of subscribers to return (1-100, default: 10). Keep this small to avoid oversized responses — use pagination to retrieve more. |
get-subscriber-count Get subscriber count
Get total subscriber count for a publication
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
publicationId * | string | Unique identifier of the publication |
add-subscriber Add subscriber
Add a subscriber to your publication by email or wallet address. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
email | string | Email address of the subscriber |
wallet | string | Wallet address of the subscriber (0x format) |
remove-subscriber Remove subscriber
Remove a subscriber from your publication by email or wallet address. This is a hard delete and cannot be undone — always confirm with the user before calling. Tip: call `list-subscribers` first to confirm the subscriber exists. If both email and wallet are provided, they must resolve to the same user. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
email | string | Email address of the subscriber to remove |
wallet | string | Wallet address of the subscriber to remove (0x format) |
get-user Get user
Get user profile by ID or Ethereum wallet address
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
id | string | User ID |
wallet | string | Ethereum wallet address (e.g. '0x1234...') |
get-feed Get feed
Get the curated feed of posts from across the Paragraph platform
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
cursor | string | Cursor for pagination |
includeContent | boolean | string | Include post content as markdown (default: false) |
limit | integer | Number of feed items to return (default: 10). Keep this small to avoid oversized responses — use pagination to retrieve more. |
get-me Get my publication
Get the publication associated with the authenticated API key, with its plan and the credits and emails used this billing cycle (`usage`). Use it to answer how many credits or emails are left. Requires API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
analytics-query Run an analytics SQL query
Run a read-only SQL query against the authenticated publication's analytics schema. Scoped automatically to the blog identified by the API key — do not include blog_id filters in the WHERE clause. **When to use this tool:** questions that require computing or filtering across newsletter or view data — open rates, click-through rates, unsubscribe rates, engagement scores, read time, traffic sources / UTMs / referrers, time-series trends, reader countries, link-level click analysis, or rankings that need sorting by a metric the simple list endpoints don't expose. Triggers include "open rate…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
sql * | string | A SELECT or WITH query against the analytics schema. The analytics.* prefix is implicit. |
analytics-schema Describe the analytics schema
Returns column metadata for every table and view in the authenticated publication's analytics schema: `table_name`, `column_name`, `data_type`, `is_nullable`. Use this before `analytics-query` when you need to discover tables or columns that are not covered by the reference baked into the `analytics-query` description, or to confirm a column type before writing a query.
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
analytics-search-ai Get search and AI visibility
Get search and AI visibility for the authenticated publication, the same report as the Search & AI tab in the app's analytics: - `summary`: visits referred by search engines and by AI assistants, AI crawler hits, and the top source and crawler in the window - `sources`: visits per search engine and AI assistant (Google, ChatGPT, Perplexity, ...) - `crawlers`: hits per AI crawler (GPTBot, ClaudeBot, ...) with its operator and what it crawls for - `topContent`: posts with the most search and AI-referred visits - `topCrawledPaths`: website pages AI crawlers fetch most - `series`: the same c…
| Parameter | Type | Description |
|---|---|---|
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
period | string | Reporting grain and window (default: daily, the last 14 days) |
send-custom-email Send a custom email
Send a one-off markdown email from your authenticated publication to a specific list of recipient addresses you supply. Each recipient gets the email individually with a mandatory unsubscribe footer. **Use this tool for:** - **Targeted segment sends** to a specific subset of subscribers the agent identifies — e.g. "email everyone who opened my last post", "send a follow-up to my 50 most engaged subscribers", "reach out to this manually curated list of 20 readers". - **Self-notifications to the writer** about their own publication — e.g. "email me when I hit 1,000 subscribers", "send me a…
| Parameter | Type | Description |
|---|---|---|
body * | string | Email body in markdown. Rendered to HTML server-side. Max 100KB. |
context * | string | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER… |
emails * | array | Recipient email addresses. Up to 10,000. Malformed addresses are returned in `skipped` rather than rejecting the whole request. |
subject * | string | Subject line of the email (1–998 characters). |
dryRun | boolean | If true, run filtering and return the accepted/skipped split without scheduling delivery. |