Pick a design candidate
design_pick_candidatePick one of the candidates from design_generate_candidates.
Pass the design_id the USER chose. It binds that design as the active
one; until payment the customer can still pick another candidate from the
same batch. The next design_chat continues refining it. Returns
the picked design's design_url + thumbnails — share them verbatim. With
thumbnails_pending: true the preview is still rendering and may not become
available: say so, give the design_url so the user can see the design in
the editor, and call design_status for the preview later. Do not say that
the preview will appear.
The picked design is ALREADY resolved (design_resolved: true). Do NOT attach
it yourself: the payment link attaches the design of each line. A design made
on a product family's standard size goes onto a cart line when you pass its
design_id to catalog_configure_product. The pick
fails with DesignAttachedError when the candidates' line holds an attached
design and the order is paid, and with UploadMappingSubmittedError when that
line's uploaded file has a submitted page mapping. Do not call
order_create_payment_link unless the customer asked to pay: the payment link
is the order. If they did not ask, show the
customer the design and ask whether they want changes; call design_chat if
they do.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"design_id": "<design_id>"
},
"name": "design_pick_candidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |