Your closet
get_closetUse this when the user asks what to wear, wants outfit ideas, or asks about their own clothes (their closet or wardrobe). Lists the clothes in the user's StyleTwin closet: each piece with its kind, colour (name, hex and family), material, how dressy and how warm it is, and how often and when it was last worn, as text and as JSON (structuredContent). Use it before suggesting outfits, so they are built from pieces the user really owns. Each piece has a short id in brackets, which the other tools take. 100 pieces per page (limit, up to 300; page for more), about 50 tokens each. For a big closet, ask summary first (counts by place, colour family, formality and warmth), then list only what you need with the filters and sort. Not for searching shops. Needs the user's StyleTwin 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": "get_closet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| 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 |
| limit | No | Pieces per page. | |
| colour | No | Only pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too). | |
| 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 | ||
| summary | No | Instead of pieces, counts by place, colour family, formality and warmth, and how many are unworn. Start here for a big closet. | |
| 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 |
|---|---|---|---|
| page | No | ||
| sort | No | ||
| owned | Yes | ||
| pages | No | ||
| pieces | Yes | ||
| summary | No | ||
| matching | Yes | ||
| waiting_from_chats | No | Pieces chats sent that wait in the app: not in the closet until the user saves them. |