Interface: EditInput
Defined in: tools/builtin/edit.ts:14
Input parameters for edit tool
Properties
createIfMissing?
optional createIfMissing?: boolean;
Defined in: tools/builtin/edit.ts:38
Create the file if it doesn’t exist (default: false)
filePath
filePath: string;
Defined in: tools/builtin/edit.ts:18
Path to the file to edit
newString
newString: string;
Defined in: tools/builtin/edit.ts:28
The replacement text
oldString
oldString: string;
Defined in: tools/builtin/edit.ts:23
The text to search for (must be unique in the file)
replaceAll?
optional replaceAll?: boolean;
Defined in: tools/builtin/edit.ts:33
Replace all occurrences (default: false, requires unique match)