save_document
Save and validate Markdown documents with configurable backup and strictness levels using the SafeMarkdownEditor MCP Server.
Instructions
Save the document (mainly for validation purposes since auto_save handles most cases).
Args:
document_path: Path to the source Markdown file
target_path: Path to save to (if different from source)
backup: Whether to create a backup before saving
validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backup | No | ||
document_path | Yes | ||
target_path | No | ||
validation_level | No | NORMAL |
Input Schema (JSON Schema)
{
"properties": {
"backup": {
"default": true,
"title": "Backup",
"type": "boolean"
},
"document_path": {
"title": "Document Path",
"type": "string"
},
"target_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Target Path"
},
"validation_level": {
"default": "NORMAL",
"title": "Validation Level",
"type": "string"
}
},
"required": [
"document_path"
],
"title": "save_documentArguments",
"type": "object"
}