Add to a canvas
add_to_canvasPut things on one of the user's PopNow canvases, or on a new canvas: finished pictures, videos and audio from earlier results (a popnow:// link, or a job_id even while it is still being made), notes, and draft cards (a prompt set up to generate later; the user starts it on popnow.ai with Shoot and sees the price there). New cards go to the right of what is already there, under it, next to a card you name or inside a named group, and can be wired to existing cards as inputs. Adding is free: no credits are used. To make new media now, call create_image, create_video or another PopNow tool first, then add the result here. Use it when the user asks to put things on a canvas or to lay out a storyboard or board. To keep adding to the same canvas later in the conversation, pass the canvas_id from the earlier result instead of starting a new canvas. If the canvas changed in a way that conflicts, nothing is added: call get_canvas and try again. Afterwards, give the user the canvas link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Optional group name. The new cards join the group with this name, or a new group is made. | |
| items | Yes | What to add, 1 to 20 items, in order. | |
| place | No | Where the new cards go: right (default, to the right of everything) or below (under everything). | |
| title | No | Name for a new canvas, up to 50 characters, for example the project name. Only used when canvas_id is empty. | |
| canvas_id | No | The canvas to add to, from list_canvases or an earlier add_to_canvas result. Leave empty only to start a new canvas. | |
| base_version | No | Usually leave it out: cards are only ever added, never overwritten. Set it to the version from get_canvas only when the new cards must match exactly what you read; if the canvas changed since then, nothing is added and you get the new version. | |
| near_card_id | No | Optional card id from get_canvas. The new cards go right next to that card instead. |