edit-note
Edit text in Obsidian notes by finding and replacing content, updating sections, or applying batch modifications to maintain organized documentation.
Instructions
Unified tool for targeted text edits, section replacements, and batch edits
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: 'edit', 'replace-section', 'batch-edit' | |
| path | No | Path to the note | |
| old_text | No | Text to find and replace | |
| new_text | No | Replacement text | |
| replace_all | No | Whether to replace all occurrences (default false) | |
| context_lines | No | Number of context lines to return (default 0) | |
| expected_mtime | No | Expected file modification time (RFC3339Nano) for optimistic concurrency | |
| heading | No | Heading of the section to replace | |
| content | No | New content for the section | |
| edits | No | List of edits to apply | |
| dry_run | No | Preview edits without modifying files |