Implementation
gradeNot graded
gradeNot graded
page: Every page
virtual_try_on_statusAnswer
Check if the shopper can try this product on: availability, saved photo, consent, try-ons left, past results. Call this first and follow next_step.
View tool JSON
{
"name": "virtual_try_on_status",
"kind": "answer",
"impl": "imperative",
"description": "Check if the shopper can try this product on: availability, saved photo, consent, try-ons left, past results. Call this first and follow next_step.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/products/saltrock-tik-keyring"
}virtual_try_on_openAction
Open the store's try-on window so the shopper can add a photo, accept the consent, or pick another photo.
View tool JSON
{
"name": "virtual_try_on_open",
"kind": "act",
"impl": "imperative",
"description": "Open the store's try-on window so the shopper can add a photo, accept the consent, or pick another photo.",
"inputSchema": {
"type": "object",
"properties": {
"variant_id": {
"type": "string",
"description": "Variant id to preselect."
}
}
},
"page": "/products/saltrock-tik-keyring"
}virtual_try_on_generateAction
Show the shopper wearing this product using their saved photo. Costs one of their try-ons: call once, only when they asked. Needs a photo and consent; on error follow next_step.
View tool JSON
{
"name": "virtual_try_on_generate",
"kind": "act",
"impl": "imperative",
"description": "Show the shopper wearing this product using their saved photo. Costs one of their try-ons: call once, only when they asked. Needs a photo and consent; on error follow next_step.",
"inputSchema": {
"type": "object",
"properties": {
"variant_id": {
"type": "string",
"description": "Variant id to try on; defaults to the selected one."
}
}
},
"page": "/products/saltrock-tik-keyring"
}virtual_try_on_historyAnswer
The shopper's recent try-on results in this store, newest first, with result image URLs.
View tool JSON
{
"name": "virtual_try_on_history",
"kind": "answer",
"impl": "imperative",
"description": "The shopper's recent try-on results in this store, newest first, with result image URLs.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Max results, 1-5, default 3."
}
}
},
"page": "/products/saltrock-tik-keyring"
}