Apply blueprint widgets into a flow
flow_apply_blueprint_widgetsCOPY vetted blueprint widgets into a flow as real files — byte-exact, no transcription. Pass picks of { blueprintId, widgetId } (from list_blueprints / search_blueprints); the widget files land under src/widgets// with their command-frame plumbing intact, persisted as a restorable checkpoint + builder-chat note like write_flow_files. Returns a manifest (paths, export names, props, a ready-to-paste import block) — never the code. Compose your screens by importing the manifest paths; adapt an applied widget with a small write_flow_files edit, never a wholesale rewrite, and never re-type code from get_blueprint. A selfPersisting blueprint's copied code reads/writes its OWN custom tables by exact name: this tool PROVISIONS those tables into your organization automatically, possibly under org-scoped names (see tables in the result — the copied code already uses the final names) — never create them yourself and never create a lookalike. Tables owned by a platform extension are reported under extensionTables (with extensionIds when pinned): only installing that extension provides them (install_extension, with user consent). Secrets the code reads are reported under secrets — each missing key gets a fill-in request in the builder automatically; values never travel over MCP. Re-applying a pick restores the widget's vetted contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | One-line summary of the change, shown in the builder chat. | |
| agent | No | ||
| picks | Yes | ||
| flowId | Yes | ||
| hubToken | No | Optional organization JWT for the Final hub, used to provision the blueprint's custom tables when your organization has no stored hub credential. |