Publish a Markdown Document
publish_articlePublish or update a Markdown Document at a public mded.it link. Accepts natural workspace names and document titles; internal routing identifiers are optional. New links default to live. Later durable edits automatically update a live link at the same URL. Choose snapshot for a frozen artifact. Existing links keep their stored mode unless mode is supplied. Requires publishing:write and explicit user confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Choose live for a link that follows later durable edits, or a frozen snapshot for a fixed artifact. Omit this only to preserve an existing link mode; new links default to live. | |
| articleId | No | Internal document identifier when already available. Omit it when the user referred to the document by title. | |
| customSlug | No | ||
| seoMetadata | No | ||
| workspaceId | No | Internal workspace identifier when already available. Omit it when the user referred to a workspace by name or has only one workspace. | |
| articleTitle | No | Human-visible document title. Prefer this over asking the user for an internal document identifier. | |
| confirmPublic | Yes | Must be true after the user confirms that anyone with the link may view the document. | |
| workspaceName | No | Human-visible workspace name. Prefer this over asking the user for an internal workspace identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| fullUrl | Yes | ||
| shortUrl | Yes | ||
| articleId | Yes | ||
| publishId | Yes | ||
| syncStatus | Yes | ||
| publishedAt | Yes | ||
| workspaceId | Yes | ||
| sourceVersionId | No | ||
| sourceContentHash | No | ||
| lastSuccessfulSyncAt | No | ||
| sourceArticleRevision | No | ||
| sourceContentRevision | No | ||
| sourcePackageRevision | No |