code_write_files
Commit one or more files to a code site's repo in a single commit (create or overwrite). files is a JSON array of {"path":"...","content":"..."}. This pushes to the default branch; if the site is Vercel-linked, the full repo snapshot is also deployed to Vercel in the same call — then poll code_deploy_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | JSON array: [{"path":"src/index.ts","content":"..."}] | |
| message | No | Commit message | |
| site_id | Yes | Code site id |