Prepend to Note
prepend_to_noteInsert content at the top of an existing note's body, right after any YAML frontmatter so metadata stays on top. Use it to prepend list items, pin context, or add TL;DR sections; fails if the note is missing.
Instructions
Insert content at the top of an existing note's body, immediately after the YAML frontmatter block if one is present (so metadata stays at the top of the file). Use for adding new items to the front of a running list, pinning context, or inserting TL;DR sections. Fails if the note does not exist.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"content": "<content>"
},
"name": "prepend_to_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path from vault root to the target note (e.g., 'notes/log.md'). Extension optional. | |
| content | Yes | Markdown text to insert at the top of the body, after any frontmatter |