- Parameters: objectSchema(map[string]any{
- "path": stringSchema("The file, absolute or relative to the working directory."),
- "old": stringSchema("The exact text to replace. It must occur once in the file."),
- "new": stringSchema("The text that replaces old."),
+ Parameters: promptObjectSchema(map[string]any{
+ "path": promptStringSchema("The file, absolute or relative to the working directory."),
+ "old": promptStringSchema("The exact text to replace. It must occur once in the file."),
+ "new": promptStringSchema("The text that replaces old."),