obsidian_insert_at_heading
Insert text under a specified heading in a markdown note; if the heading is missing, it creates a new section with that heading.
Instructions
Insert content under a specific heading. If heading not found, appends it as a new ## section.
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": {
"file_path": "<file_path>",
"heading": "<heading>",
"content": "<content>"
},
"name": "obsidian_insert_at_heading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Text to insert | |
| heading | Yes | Heading text to find (e.g. "Notes") | |
| position | No | Insert at beginning or end of section (default: end) | |
| file_path | Yes | Relative path to the note | |
| vault_path | No | Optional vault path override |