vault_patch
Patch a specific heading, block reference, or frontmatter field
How to use it
Project documentation lists vault_patch for the Obsidian Local Rest Api MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Obsidian Local Rest Api
npm install --save-dev obsidian-local-rest-apiOther tools in Obsidian Local Rest Api (15)
Return the vault path of the file currently open in Obsidian
Execute an Obsidian command by ID
List all registered Obsidian commands
Open a file in the Obsidian UI
Search using a JsonLogic query against note metadata
Full-text search using Obsidian's built-in search
List all tags across the vault with usage counts
Append content to the end of a vault file
Copy a vault file to a new path
Delete a vault file (moves to trash by default)
List the headings, block references, and frontmatter fields in a file
List files and subdirectories inside a vault directory
Move (rename) a vault file to a new path
Read a file's content, frontmatter, tags, and stat
Create or overwrite a vault file