smart_text_replace
Replace text in a design node while preserving formatting of unmodified parts. Only replaced text receives default formatting.
Instructions
Replace specific text in a node while preserving the formatting of unchanged portions. Only replaced text gets default formatting.
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": {
"nodeId": "<nodeId>",
"replacements": "<replacements>"
},
"name": "smart_text_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node | |
| replacements | Yes | Array of find/replace operations to perform |