Unpublish a Markdown Document
unpublish_articleDisable a Markdown Document public link. Accepts natural workspace names and document titles; internal routing identifiers are optional. Requires publishing:write and explicit user confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commandId": "<commandId>",
"confirmUnpublish": "<confirmUnpublish>",
"context": "<context>"
},
"name": "unpublish_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Describe the user's underlying goal in one sentence. Do not include private document content, credentials, or personal information. | |
| articleId | No | Internal document identifier when already available. Omit it when the user referred to the document by title. | |
| commandId | Yes | Globally unique UUID for this logical publishing mutation. Generate it once and reuse the exact value if the tool call is retried. | |
| workspaceId | No | Optional workspace ID to narrow document lookup. Omit when the document title or ID uniquely identifies a document across authorized workspaces. | |
| articleTitle | No | Human-visible document title. Prefer this over asking the user for an internal document identifier. | |
| workspaceName | No | Optional workspace name to narrow document lookup. A unique document title can be used without a workspace choice. | |
| confirmUnpublish | Yes | Must be true after the user confirms that the public link should stop working. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| articleId | Yes | ||
| publishId | Yes | ||
| workspaceId | Yes |