Write files into a flow
flow_write_flow_filesCreate or overwrite files in a flow's tree (full contents, not diffs). Engine-owned paths are rejected — see get_scaffold. Every write lands as a restorable checkpoint and is narrated in the builder chat. If a live preview is running, follow up with start_preview to sync it. Validate with validate_flow before deploying. If a call returns an error the files may STILL have landed (and a very large payload can truncate mid-file) — re-read with read_flow_files before retrying, never blind-retry. Because writes replace whole files, keep files small and single-purpose so an edit can't clobber unrelated working code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | One-line summary of the change, shown in the builder chat. | |
| agent | No | ||
| files | Yes | ||
| flowId | Yes |