Show the closet
show_closetShow the user their closet (or the pieces matching get_closet's filters) as a StyleTwin card they can browse and pick a piece from to build an outfit around, 30 pieces a page, with each piece's name and short id (text and JSON). With Share closet pictures on, it also gives numbered contact sheets of their own pieces with a 24-hour link (size: small = 128 px cells, a 640 x 768 sheet, about 650 tokens in Claude; medium = 200 px, 1000 x 1200, about 1,600 tokens, the default; large = 300 px, for the link; columns: 3 to 8, default 5; inline: false returns only the link and JSON). Without it, the card shows each piece by name and colour. Needs the account connected.
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": "show_closet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which sheet of 30 pieces. | |
| size | No | Cells of 128, 200 or 300 px. | medium |
| slot | No | Only pieces worn here: top, bottom, dress, outer (coats and jackets), hat, bag, shoes, accessory. | |
| sort | No | place (by where they are worn, then name), newest, most_worn, least_worn or longest_unworn. | place |
| colour | No | Only pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too). | |
| inline | No | Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens. | |
| search | No | Only pieces whose name, kind, colour, colour family, material or brand contains all these words, e.g. "wool coat". Kinds and colours are in English; names are in the user's language. | |
| warmth | No | ||
| columns | No | ||
| formality | No | ||
| never_worn | No | Only pieces never worn yet. | |
| not_worn_since | No | Only pieces not worn on or after this day (YYYY-MM-DD), never-worn ones included. | |
| include_wishlist | No | Also list pieces the user saved from shops but doesn't own yet. |
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. |