API Reference
FileEditRequest
Defined in: tools/builtin/builtin.types.ts:298
A request to replace the first occurrence of a string in a file.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
newString | string | String to replace the first occurrence with. | tools/builtin/builtin.types.ts:304 |
oldString | string | Exact string to find. | tools/builtin/builtin.types.ts:302 |
path | string | Path of the file to edit. | tools/builtin/builtin.types.ts:300 |