pub fn write_file_tool() -> ToolDef
Create the write_file tool.
write_file
Overwrites the target file. Creates parent directories if needed. For partial edits prefer patch_file.
patch_file