insert_header_near_text
Insert a heading before or after a target text or paragraph index in a document.
Instructions
Insert a heading near the found text or paragraph index
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": {
"doc_id": "<doc_id>"
},
"name": "insert_header_near_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| target_text | No | ||
| header_title | No | ||
| position | No | after | |
| level | No | ||
| target_paragraph_index | No |