Prepare FigCraft Web Handoff
prepare_web_handoffClassify FigCraft inspect_document layers into HTML/CSS, components, review items, and assets, then generate a deterministic export plan and optional JSON manifest for web handoff.
Instructions
Classify FigCraft inspect_document layers as HTML/CSS, components, review items, or exportable assets. Generate a deterministic export plan and optional JSON manifest. Supply the raw inspect_document JSON, not a screenshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Raw JSON from FigCraft inspect_document. | |
| exportDir | No | Folder for FigCraft native export files, default ./figcraft-exports. | |
| overwrite | No | Allow replacing an existing handoff manifest. Default false. | |
| outputPath | No | Optional path to save the handoff manifest as JSON. | |
| documentPath | No | Local JSON file from FigCraft inspect_document. Use instead of document. | |
| inspectAssets | No | Optional output of FigCraft inspect.assets. | |
| inspectAssetsPath | No | Optional JSON file containing FigCraft inspect.assets output. |