string_replace
string_replaceReplace specific text patterns within strings using search and replace parameters. This tool modifies text by substituting defined search terms with replacement values, optionally applying changes globally throughout the input.
Instructions
Replace text
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": {
"text": "<text>",
"search": "<search>",
"replace": "<replace>"
},
"name": "string_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| search | Yes | ||
| replace | Yes | ||
| replace_all | No |