replace_block_between_manual_anchors
Automatically replace content between specified start and end anchor texts in Microsoft Word documents using defined paragraphs.
Instructions
Replace all content between start_anchor_text and end_anchor_text (or next logical header if not provided).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_anchor_text | No | ||
filename | Yes | ||
match_fn | No | ||
new_paragraph_style | No | ||
new_paragraphs | Yes | ||
start_anchor_text | Yes |
Input Schema (JSON Schema)
{
"properties": {
"end_anchor_text": {
"default": null,
"title": "End Anchor Text",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"match_fn": {
"default": null,
"title": "Match Fn"
},
"new_paragraph_style": {
"default": null,
"title": "New Paragraph Style",
"type": "string"
},
"new_paragraphs": {
"items": {},
"title": "New Paragraphs",
"type": "array"
},
"start_anchor_text": {
"title": "Start Anchor Text",
"type": "string"
}
},
"required": [
"filename",
"start_anchor_text",
"new_paragraphs"
],
"type": "object"
}