Let the user pick a reference
pick_referenceShow a person 2 to 6 matching references side by side in their browser and let them click the one to build from. Returns a URL to open for them; then call wait_for_pick with the pickId for their choice and a build prompt. Only when a person is there to choose: autonomous agents should use build_recipe.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pick_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search words, e.g. "pricing page", "onboarding", "empty state". The best matches become the options. Can be combined with tag filters, or left out when tag filters are given. | |
| 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. | |
| task | No | Tag filter, as in search_screens, e.g. create. | |
| count | No | How many options to show when searching, 2 to 6. | |
| stack | No | Preferred stack for the build prompt. | |
| state | No | Tag filter, as in search_screens, e.g. empty. | |
| pattern | No | Tag filter, as in search_screens, e.g. pricing-page. | |
| product | No | Only search this product id. | |
| screens | No | Comma-separated screen ids to show instead of searching, e.g. from an earlier search_screens. | |
| component | No | Tag filter, as in search_screens, e.g. comparison-table. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| next | No | ||
| pickId | No | ||
| status | No | ||
| options | No | ||
| canvasUrl | No |