Create a Markdown Document
create_articleCreate a durable Markdown Document with initial content in an accessible workspace. Omit the workspace selector when the user has only one workspace, or pass workspaceName when they chose one by name.
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>",
"title": "<title>",
"content": "<content>",
"context": "<context>"
},
"name": "create_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| content | Yes | ||
| context | Yes | Describe the user's underlying goal in one sentence. Do not include private document content, credentials, or personal information. | |
| folderId | No | ||
| commandId | Yes | Globally unique UUID for this logical document creation. Generate it once and reuse the exact value if the tool call is retried. | |
| workspaceId | No | Internal workspace identifier from list_workspaces. Required when choosing between workspaces with duplicate names; otherwise use workspaceName. Omit only when list_workspaces returns exactly one workspace. | |
| collaborative | No | ||
| workspaceName | No | Human-visible workspace name. Prefer this over asking the user for an internal workspace identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| content | Yes | ||
| articleId | Yes | ||
| editorUrl | Yes | ||
| contentHash | Yes | ||
| workspaceId | Yes |