md_insert_after_section
Insert Markdown content after a full section body to add a sibling section. Use for adding a new '##' block after another section's content.
Instructions
Insert content after the full section body (sibling placement). Use when adding a new ## section after this section's content. Prefer md.insert_after_heading for content under the heading line. Inserts after the full section body (sibling placement). Prefer md_insert_after_heading for content under the heading. Example: {"content":"## FAQ\n\nCommon questions.\n","path":"README.md","heading":"## Config"}
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>",
"heading": "<heading>",
"content": "<content>"
},
"name": "md_insert_after_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| heading | Yes | ||
| agent_preset | No | When true, replace uses the agent preset: unique, require_change, fuzzy floor 0.90, allow_absent_old false. Off unless set. | |
| expected_sha256 | No | SHA-256 hex of the file's current bytes. If it does not match, the tool returns error_kind stale and writes nothing. |