Let the user pick a reference
pick_referenceShow the user several matching UI references side by side in their browser and let them click the one to build from. Returns a URL to open for them.
Prefer this over sending full-page images whenever the user should decide which reference to use. The picker shows real screenshots at scroll depth so they can evaluate long pages.
After calling this, tell them to choose in the picker, then call waitForPick with the pickId to get their choice and a complete build prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search words, e.g. "pricing page", "onboarding", "empty state". The best matches become the options. | |
| goal | No | What the user is building, shown on the page and used in the build prompt, e.g. "NSDR premium upgrade page". | |
| kind | No | Only search this kind of screen. | |
| count | No | How many options to show when searching, 2 to 6. | |
| stack | No | Preferred stack for the build prompt. | |
| product | No | Only search this product id. | |
| screens | No | Comma-separated screen ids to show instead of searching, e.g. from an earlier searchScreens. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Open this for the user. | |
| next | No | What to do next. | |
| pickId | No | ||
| status | No | ||
| options | No | ||
| canvasUrl | No | Experimental pan-and-zoom canvas view of the same pick. |