propose_insert_block
Insert a paragraph, heading, or list item before or after an anchor element, with append supported by anchoring on the last element.
Instructions
Stage inserting a new block before or after an existing element.
position: 'before' | 'after' (relative to anchor_id). kind: 'paragraph' | 'heading' (set level 1-6) | 'list_item'. This single tool covers insert-before, insert-after and append use cases (anchor on the last element and position='after').
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>",
"anchor_id": "<anchor_id>",
"position": "<position>"
},
"name": "propose_insert_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | paragraph | |
| path | Yes | ||
| text | No | ||
| level | No | ||
| doc_hash | No | ||
| position | Yes | ||
| anchor_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||