edit_pack
Apply multiple file edits and creations atomically, validating all changes against current content before writing to prevent partial updates.
Instructions
Batch several edits and/or new files into ONE all-or-nothing operation (free — no Codex usage). Every guard is validated against current on-disk content first; if ANY item fails, NOTHING is written (no partial state). Same-file edits chain in order. Use for multi-file changes that are still small and well-defined; delegate heavy work to implement. Max 20 items per pack.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | No | Existing-file edits, applied in order. | |
| writes | No | New files to create. | |
| project | No | Project path the user named in chat (armed via init). Pass it explicitly on every call. If no project has been named, ask the user; never guess. | |
| session_token | No | Session token returned by init (or create_project). Required for every project tool call in this chat. A new chat must be re-armed. |