Skip to main content
Glama

refactor-notes

Split notes by headings, merge multiple notes, or extract sections to new notes for structural reorganization in Obsidian vaults.

Instructions

Unified tool for structural note refactoring: split notes by heading, merge multiple notes, and extract sections to new notes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: 'split', 'merge', 'extract-section'
pathNoSource note path
levelNoHeading level to split at (default: 2, for split action)
keep_originalNoKeep extracted content in original note (for split action)
output_dirNoDirectory for new notes (for split action)
dry_runNoPreview changes without modifying files
pathsNoComma-separated list of notes to merge (for merge action)
outputNoOutput note path
separatorNoSeparator between notes (for merge action)
delete_originalsNoDelete original notes after merge (for merge action)
add_headingsNoAdd note names as headings (for merge action)
headingNoHeading to extract (for extract-section action)
remove_from_originalNoRemove from source note (default true, for extract-section action)
add_linkNoAdd link to new note in source (default true, for extract-section action)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zach-snell/obx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server