append_doc
Add content to existing documents in molt-md encrypted markdown service. Append markdown text to documents using document ID and optional version control to prevent conflicts.
Instructions
Append content to the end of a document (separated by newline). Requires write key. The API will return 403 if a read key is used.
Args: doc_id: UUID of the document to append to content: Markdown content to append if_match: Optional - version ETag (e.g., 'v5') to prevent conflicts
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": {
"doc_id": "<doc_id>",
"content": "<content>"
},
"name": "append_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| content | Yes | ||
| if_match | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |