find_replace_text
Find and replace text in InDesign documents, with controls for case sensitivity and whole-word matching.
Instructions
Find and replace text in the document
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": {
"findText": "<findText>",
"replaceText": "<replaceText>"
},
"name": "find_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findText | Yes | Text to find | |
| wholeWord | No | Whole word search | |
| replaceText | Yes | Text to replace with | |
| caseSensitive | No | Case sensitive search |