load_document | Load and analyze a Markdown document from a file path.
Args:
document_path: Path to the Markdown file (supports absolute, relative, and ~ expansion)
validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
|
insert_section | Insert a new section at a specified location.
The document will be saved after the operation if successful and auto_save is True.
|
delete_section | Delete a section by ID or heading.
The document will be saved after the operation if successful and auto_save is True.
|
update_section | Update the content of an existing section.
The document will be saved after the operation if successful and auto_save is True.
|
get_section | Get a specific section by ID.
Args:
document_path: Path to the Markdown file
section_id: The section ID to retrieve
validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
|
list_sections | List all sections in the document.
Args:
document_path: Path to the Markdown file
validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
|
move_section | Move a section to a different position.
The document will be saved after the operation if successful and auto_save is True.
|
get_document | Get the complete document content and structure.
Args:
document_path: Path to the Markdown file
validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
|
save_document | 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"
|
analyze_document | Analyze document structure and provide insights.
Args:
document_path: Path to the Markdown file
validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
|