replace
Replace occurrences in 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>"
},
"name": "replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The original text | |
| search | Yes | Text to search for | |
| replacement | No | Replacement text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| original | Yes | ||
| occurrences_replaced | Yes |