replace_all
Globally replace every occurrence of a word or phrase in a Markdown document body using CriticMarkup while protecting frontmatter, inline anchors, and JSON comments.
Instructions
Globally replaces ALL instances of a word or phrase throughout the document body using CriticMarkup. Operates across the full document body regardless of cutoff line, while frontmatter, inline anchors, and JSON comment payloads remain strictly protected.
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": {
"filepath": "<filepath>",
"search_string": "<search_string>",
"replacement_string": "<replacement_string>"
},
"name": "replace_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| search_string | Yes | ||
| replacement_string | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |