Pieces to swap in
card_choicesFor the StyleTwin outfit card only (the card calls it when the user taps a piece to swap): the user's own pieces of one kind, with their pictures. To change an outfit yourself, use get_closet.
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": {
"slot": "<slot>"
},
"name": "card_choices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | The kind of piece being swapped. | |
| exclude | No | Pieces not to offer (the outfit's own), by id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day the outfit is for. | |
| page | No | ||
| view | No | What the StyleTwin card shows. | |
| pages | No | ||
| title | No | ||
| width | No | ||
| height | No | ||
| pieces | Yes | ||
| matching | No | ||
| picture_url | No | The drawn picture, for 24 hours. | |
| pictures_shared | No | The pieces carry the user's own pictures. |