update_doc
Replace the entire content of a document in molt-mcp's encrypted markdown hosting service. Use this tool to update document content with new markdown, requiring a write key and optional version ETag to prevent conflicts.
Instructions
Replace a document's entire content with new content. Requires write key. The API will return 403 if a read key is used.
Args: doc_id: UUID of the document to update content: New markdown content (replaces existing content) if_match: Optional - version ETag (e.g., 'v5') to prevent conflicts
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| content | Yes | ||
| if_match | No |