MCP server for Obsidian
patch_content
Insert content into an existing note relative to a heading, block reference, or frontmatter field.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to insert | |
filepath | Yes | Path to the file (relative to vault root) | |
operation | Yes | Operation to perform (append, prepend, or replace) | |
target | Yes | Target identifier (heading path, block reference, or frontmatter field) | |
target_type | Yes | Type of target to patch |