replace_text
Replace specific text in a document using options for case sensitivity, whole word matching, or regular expressions to control the replacement scope.
Instructions
Replace text in the document with case/scope and regex options
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": "replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| find_text | No | ||
| replace_text | No | ||
| search_text | No | ||
| replacement_text | No | ||
| replace_all | No | ||
| case_sensitive | No | ||
| whole_word | No | ||
| use_regex | No | ||
| join_runs | No | ||
| ignore_redundant | No | ||
| ignore_insignificant | No | ||
| ignore_spacing | No |