replace_text
Replace text within an allowed UTF-8 file by specifying the file path, search string, and replacement. Enables controlled edits while preventing access to sensitive files through security rules.
Instructions
Replace text inside one allowed UTF-8 text file.
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": {
"path": "<path>",
"search": "<search>",
"replace": "<replace>"
},
"name": "replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| search | Yes | ||
| replace | Yes | ||
| caseSensitive | No |