find_and_replace
Search and replace text in active Trados Studio target segments, previewing changes by default and requiring explicit confirmation before writing bulk edits.
Instructions
[DESTRUCTIVE/BULK] Search and replace in target text (dry_run=True default; requires confirm=True to write).
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": {
"find": "<find>",
"replace": "<replace>"
},
"name": "find_and_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| regex | No | ||
| status | No | ||
| confirm | No | ||
| dry_run | No | ||
| replace | Yes | ||
| strict_qa | No | ||
| set_status | No | ||
| whole_word | No | ||
| max_changes | No | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||