Get a layer's build prompt
get_promptThe full prompt that rebuilds a layer in the chosen framework, with the chosen palette (templates, sections, pages, elements, gradients) or variant (3D scenes, backgrounds, vectors). Follow it as the build brief. Free layers have no limit. A premium layer counts once per UTC day against the caller's daily limit (1 without a key, 3 Free, 30 Pro, none for Lifetime); fetching it again that day is free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Layer id from search_layers. | |
| target | No | Framework to build for (see list_targets). Default: one self-contained HTML file. | html |
| palette | No | Palette index from get_layer. Default 0. | |
| variant | No | Variant index from get_layer. Default 0. |