MCP Documentation Service

by alekspetrov
Verified

write_document

Create a new markdown document or completely overwrite an existing document with new content. Use with caution as it will overwrite existing documents without warning. Can create parent directories if they don't exist.

Input Schema

NameRequiredDescriptionDefault
contentYes
createDirectoriesNo
pathYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "type": "string" }, "createDirectories": { "default": true, "type": "boolean" }, "path": { "type": "string" } }, "required": [ "path", "content" ], "type": "object" }