You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the `apply_patch` tool to edit files. This is a FREEFORM tool, so do not wrap the patch in JSON.
1
+
Use the `apply_patch` tool to edit files. This is a FREEFORM tool, so do not wrap the patch in JSON. Your patch language is a stripped‑down, file‑oriented diff format designed to be easy to parse and safe to apply. You can think of it as a high‑level envelope:
2
+
3
+
*** Begin Patch
4
+
[ one or more file sections ]
5
+
*** End Patch
6
+
7
+
Within that envelope, you get a sequence of file operations.
8
+
You MUST include a header to specify the action you are taking.
9
+
Each operation starts with one of three headers:
10
+
11
+
*** Add File: <path> - create a new file. Every following line is a + line (the initial contents).
0 commit comments