Popcraft Elements Library
popcraft_show_elementsBrowse the user's reusable Popcraft Elements — saved characters, objects, backgrounds, and styles, each backed by a reference image. TO USE AN ELEMENT IN A GENERATION: pass its image_url as a medias[].value entry — role "reference" for popcraft_generate_image (subject/style transfer), role "image" (or "start_image") for popcraft_generate_video — and mention the element by name in the prompt. Optionally filter by type (character/object/background/style) or a search substring on the name. In widget-capable clients an interactive grid is shown; a picked element comes back as the next user message. Call it when the user asks about their elements/characters or wants consistent subjects across generations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter to one element type | |
| limit | No | Max elements to return, 1-50 — default 24 | |
| search | No | Case-insensitive substring match against element names |