bridge_edit
Edits a file by replacing specified old text with new text and remembers recurring edit patterns to support future changes.
Instructions
Edit file with pattern learning - remembers common edits
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>",
"oldText": "<oldText>",
"newText": "<newText>"
},
"name": "bridge_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to edit | |
| newText | Yes | New text | |
| oldText | Yes | Text to replace |