apply_patch diapason.tools.apply_patch ¶ Apply-patch tool — apply unified diff patches to files. ApplyPatchTool ¶ Bases: BaseTool Apply a unified diff patch to a file.