Create a new flow
flow_create_flowCreate a new, empty flow (app build) in your Final organization for YOU to write the app into. It appears in the Miami builder immediately, with this agent session attached as a chat. Optional theme knobs seed the live palette. Optional device ("mobile", "kiosk", "iphone", …) sets the preview frame it opens in; see set_flow_device. Returns the flow id and a builder deep link. Call get_scaffold before writing files. For an app the user merely DESCRIBED, use start_build.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Display name for this tool in the builder chat rail, e.g. 'Claude Code'. | |
| color | No | A colour the user asked for, as they said it ("pink", "dark green", "navy and gold", or a hex). Resolved to a full custom palette for the flow's appearance — prefer this over guessing customColors hexes. Ignored when customColors is also given. | |
| fonts | No | ||
| shape | No | ||
| theme | No | ||
| title | Yes | ||
| device | No | Default preview device for the new flow (the frame the builder opens it in). Omit for the user's Settings default. | |
| palette | No | ||
| customColors | No |