write_files
Write multiple project files in a single atomic call. Batch file creation for scaffolding or updating several files at once, with validation ensuring all paths are valid before any write occurs.
Instructions
Write multiple project files in a single call. Same rules as write_file but batched — faster for scaffolding a new project or updating several files at once.
Each entry in the files array has a path and content. All files are written atomically — if any path is invalid, none are written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID (e.g. proj_a8Kq7fR2xZ) | |
| files | Yes | Array of files to write |