Outfits from clothes you own: your StyleTwin closet (wardrobe), saved outfits, calendar and weather.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Use this when the user asks what StyleTwin is or how to connect it, or doesn't have the app yet. What the StyleTwin app is, what this connector can do in the chat, how the user connects their closet, and where to download the app (iPhone, iPad, Android). Works without a StyleTwin account.
This tool takes no arguments.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http styletwin https://api.styletwin.app/mcp
Use this when the user asks what StyleTwin is or how to connect it, or doesn't have the app yet. What the StyleTwin app is, what this connector can do in the chat, how the user connects their closet, and where to download the app (iPhone, iPad, Android). Works without a StyleTwin account.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Send a piece to the user's StyleTwin closet: a shop's product page (shop_link) and/or one picture of it (image, image_url or image_base64), with what it is (piece) and the product's details (product). Use this when the user wants a piece from this chat in StyleTwin, one they own or one they like in a shop. The app adds it the next time the user opens StyleTwin, or shows it at the top of the Closet tab for them to add. Needs Allow changes for this chat in the app.
| Argument | Type | Description |
|---|---|---|
| note | string | What it is, for the user, e.g. "Linen shirt from Zara, size M". |
| image | object | A photo the user attached in this chat, as taken: their own photo of the piece, or a photo of them in it (ChatGPT fills it in). StyleTwin cuts the piece out on the phone. |
| piece | object | What the piece is. With a picture, the app adds it by itself. |
| product | object | What you know about the product on shop_link, kept with the piece. |
| image_url | string | A direct https link to the shop's own product photo (as the shop shows it) or to the user's photo. An unedited picture: StyleTwin cuts the piece out itself. JPEG, PNG or WebP. |
| shop_link | string | A shop's product page. Send it with image_url (the product photo) when you have it. |
| image_base64 | string | A small unedited picture inline: 768 px JPEG, quality 80, under 500 KB. |
{
"type": "object",
"properties": {
"note": {
"type": "string",
"maxLength": 200,
"description": "What it is, for the user, e.g. \"Linen shirt from Zara, size M\"."
},
"image": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string"
}
},
"description": "A photo the user attached in this chat, as taken: their own photo of the piece, or a photo of them in it (ChatGPT fills it in). StyleTwin cuts the piece out on the phone."
},
"piece": {
"type": "object",
"required": [
"slot"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 40,
"description": "e.g. Sneakers, Jeans, T-shirt, Coat, Handbag, Sunglasses."
},
"name": {
"type": "string",
"maxLength": 60,
"description": "What the closet calls it, e.g. \"adidas Samba OG\"."
},
"slot": {
"enum": [
"hat",
"outer",
"top",
"dress",
"bottom",
"bag",
"shoes",
"accessory"
],
"type": "string"
},
"owned": {
"type": "boolean",
"description": "The user already has it. Default false: a shop product is saved as a store item."
}
},
"description": "What the piece is. With a picture, the app adds it by itself.",
"additionalProperties": false
},
"product": {
"type": "object",
"required": [
"title"
],
"properties": {
"size": {
"type": "string",
"maxLength": 20,
"description": "The size the user picked, if any."
},
"brand": {
"type": "string",
"maxLength": 80
},
"price": {
"type": [
"number",
"string"
],
"description": "The price shown, e.g. 120 or \"119.95\"."
},
"title": {
"type": "string",
"maxLength": 200,
"description": "The product's name, e.g. \"Samba OG\"."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "ISO 4217, e.g. EUR."
}
},
"description": "What you know about the product on shop_link, kept with the piece.",
"additionalProperties": false
},
"image_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "A direct https link to the shop's own product photo (as the shop shows it) or to the user's photo. An unedited picture: StyleTwin cuts the piece out itself. JPEG, PNG or WebP."
},
"shop_link": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "A shop's product page. Send it with image_url (the product photo) when you have it."
},
"image_base64": {
"type": "string",
"maxLength": 700000,
"description": "A small unedited picture inline: 768 px JPEG, quality 80, under 500 KB.",
"contentEncoding": "base64",
"contentMediaType": "image/jpeg"
}
},
"additionalProperties": false
}For 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.
| Argument | Type | Description |
|---|---|---|
| slot* | string | The kind of piece being swapped. |
| exclude | array | Pieces not to offer (the outfit's own), by id. |
{
"type": "object",
"required": [
"slot"
],
"properties": {
"slot": {
"enum": [
"hat",
"outer",
"top",
"dress",
"bottom",
"bag",
"shoes"
],
"type": "string",
"description": "The kind of piece being swapped."
},
"exclude": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Pieces not to offer (the outfit's own), by id."
}
},
"additionalProperties": false
}Delete one of the user's saved outfits (its pieces stay in the closet). Confirm with the user first: it can't be undone. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| look* | string | The saved outfit, by its id from get_saved_looks (or its name). |
{
"type": "object",
"required": [
"look"
],
"properties": {
"look": {
"type": "string",
"description": "The saved outfit, by its id from get_saved_looks (or its name)."
}
},
"additionalProperties": false
}Delete a piece from the user's closet. Saved outfits that had it are kept without it (or deleted when nothing wearable is left). Confirm with the user first: it can't be undone. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| piece* | string | The piece, by its id from get_closet (or its name). |
{
"type": "object",
"required": [
"piece"
],
"properties": {
"piece": {
"type": "string",
"description": "The piece, by its id from get_closet (or its name)."
}
},
"additionalProperties": false
}Use this when the user asks what they planned or wore on a day, or before planning outfits for the coming days. Shows the user's StyleTwin calendar for a span of days: the moments they planned (work, dinner, a trip...) with the outfit picked for each, and what they wore on past days. Needs the user's StyleTwin account connected.
| Argument | Type | Description |
|---|---|---|
| days | integer | How many days from it. |
| from | string | The first day, YYYY-MM-DD, in the user's time zone. Default: today. |
{
"type": "object",
"properties": {
"days": {
"type": "integer",
"default": 7,
"maximum": 14,
"minimum": 1,
"description": "How many days from it."
},
"from": {
"type": "string",
"format": "date",
"description": "The first day, YYYY-MM-DD, in the user's time zone. Default: today."
}
},
"additionalProperties": false
}Use 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.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| slot | string | Only pieces worn here: top, bottom, dress, outer (coats and jackets), hat, bag, shoes, accessory. |
| sort | string | place (by where they are worn, then name), newest, most_worn, least_worn or longest_unworn. |
| limit | integer | Pieces per page. |
| colour | string | Only pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too). |
| search | string | 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. |
Get each piece's own picture from the user's StyleTwin closet: a PNG cut-out on a transparent background (or a JPEG photo), up to 768 px, as 24-hour links (and inline with inline: true, up to 6, about 800 tokens each in Claude). Use it when the user wants to see or keep the pictures of particular pieces. Up to 24 pieces by id. Needs the account connected and Share closet pictures turned on.
| Argument | Type | Description |
|---|---|---|
| inline | boolean | Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens. |
| pieces* | array | The pieces, by the ids get_closet shows (or names). |
{
"type": "object",
"required": [
"pieces"
],
"properties": {
"inline": {
"type": "boolean",
"default": false,
"description": "Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens."
},
"pieces": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 24,
"minItems": 1,
"description": "The pieces, by the ids get_closet shows (or names)."
}
},
"additionalProperties": false
}Use this when the user asks about outfits they saved, or what to wear for an occasion they may have a saved outfit for, or about their groups of outfits (trips, capsules). Lists the outfits the user saved in StyleTwin, each with its short id, its pieces by name, its occasion and when it was last worn, and the groups (collections) with the outfits in each. Needs the user's StyleTwin account connected.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Newest first; at most this many. |
| occasion | string | Only outfits saved for this occasion. |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 40,
"maximum": 100,
"minimum": 1,
"description": "Newest first; at most this many."
},
"occasion": {
"enum": [
"work",
"day_out",
"evening_out",
"dinner",
"workout",
"date",
"meeting",
"travel",
"event"
],
"type": "string",
"description": "Only outfits saved for this occasion."
}
},
"additionalProperties": false
}Use this when deciding what to wear on a day, today or up to 9 days ahead. Gets the weather forecast for a town or city by morning, afternoon and evening: temperature, feels-like, rain and wind. Not for weather questions that aren't about clothes. Works without a StyleTwin account.
| Argument | Type | Description |
|---|---|---|
| date | string | The first day, YYYY-MM-DD in the place's time zone. Default: today. |
| days | integer | How many days from it. |
| place* | string | The town or city, with its country when the name is common, e.g. "Porto, Portugal". |
| timezone* | string | The place's IANA time zone, e.g. "Europe/Lisbon" or "America/New_York". |
{
"type": "object",
"required": [
"place",
"timezone"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The first day, YYYY-MM-DD in the place's time zone. Default: today."
},
"days": {
"type": "integer",
"default": 1,
"maximum": 3,
"minimum": 1,
"description": "How many days from it."
},
"place": {
"type": "string",
"maxLength": 100,
"minLength": 2,
"description": "The town or city, with its country when the name is common, e.g. \"Porto, Portugal\"."
},
"timezone": {
"type": "string",
"description": "The place's IANA time zone, e.g. \"Europe/Lisbon\" or \"America/New_York\"."
}
},
"additionalProperties": false
}Record what the user wore on a day (today or earlier): a saved outfit (look) or pieces. It replaces that day's main worn outfit and updates the pieces' wear counts. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| date | string | The day, YYYY-MM-DD. Default: today. |
| look | string | A saved outfit (id or name) that was worn. |
| pieces | array | Or the pieces that were worn (ids or names). |
{
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The day, YYYY-MM-DD. Default: today."
},
"look": {
"type": "string",
"description": "A saved outfit (id or name) that was worn."
},
"pieces": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Or the pieces that were worn (ids or names)."
}
},
"additionalProperties": false
}Put an outfit on the user's StyleTwin calendar for a day: the day's main outfit (occasion work or day_out, or none), or a moment such as dinner at 19:00 with its outfit. Give a saved outfit (look) or pieces. To say a day is a day off, a travel day or a work day without choosing its outfit, send occasion day_out or work alone. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| date* | string | The day, YYYY-MM-DD, in the user's time zone (up to two years ahead). |
| look | string | A saved outfit (id or name) to wear. |
| name | string | For a moment: its name, e.g. "Anna's birthday". |
| time | string | For a moment: its time, HH:MM. |
| pieces | array | Or the pieces to wear (ids or names). |
| occasion | string | work or day_out is the day's main outfit; the others are moments of the day. |
{
"type": "object",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The day, YYYY-MM-DD, in the user's time zone (up to two years ahead)."
},
"look": {
"type": "string",
"description": "A saved outfit (id or name) to wear."
},
"name": {
"type": "string",
"maxLength": 60,
"description": "For a moment: its name, e.g. \"Anna's birthday\"."
},
"time": {
"type": "string",
"pattern": "^[0-2][0-9]:[0-5][0-9]$",
"description": "For a moment: its time, HH:MM."
},
"pieces": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Or the pieces to wear (ids or names)."
},
"occasion": {
"enum": [
"work",
"day_out",
"evening_out",
"dinner",
"workout",
"date",
"meeting",
"travel",
"event"
],
"type": "string",
"description": "work or day_out is the day's main outfit; the others are moments of the day."
}
},
"additionalProperties": false
}Remove a planned moment (by its occasion, name or time), the day's main outfit (moment "routine"), or everything planned for a day (no moment). Confirm with the user first. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| date* | string | The day, YYYY-MM-DD. |
| moment | string | Which plan: "routine" for the day's main outfit, or a moment's occasion, name or time. Leave out to clear the whole day. |
{
"type": "object",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The day, YYYY-MM-DD."
},
"moment": {
"type": "string",
"description": "Which plan: \"routine\" for the day's main outfit, or a moment's occasion, name or time. Leave out to clear the whole day."
}
},
"additionalProperties": false
}Make or change a named group of saved outfits, such as a trip ("Rome, 4 days") or a capsule: looks sets the whole group (a group with that name is replaced), add and remove change an existing group, rename_to renames it. get_saved_looks lists the groups. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| add | array | Saved outfits to add to the existing group. |
| name* | string | The group's name, e.g. "Rome, 4 days"; an existing group's name to change it. |
| looks | array | All the saved outfits in it (ids or names from get_saved_looks): makes the group, or replaces what it holds. |
| remove | array | Saved outfits to take out of the existing group (they stay saved). |
| rename_to | string | A new name for the existing group. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"add": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Saved outfits to add to the existing group."
},
"name": {
"type": "string",
"maxLength": 60,
"description": "The group's name, e.g. \"Rome, 4 days\"; an existing group's name to change it."
},
"looks": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "All the saved outfits in it (ids or names from get_saved_looks): makes the group, or replaces what it holds."
},
"remove": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Saved outfits to take out of the existing group (they stay saved)."
},
"rename_to": {
"type": "string",
"maxLength": 60,
"description": "A new name for the existing group."
}
},
"additionalProperties": false
}Save an outfit to the user's StyleTwin closet from pieces they own (ids from get_closet, or names): one piece per place (top, bottom or a dress, outer layer, shoes, bag, hat), plus any accessories. It appears under Outfits in the app. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| name | string | The outfit's name, e.g. "Office Monday". Default: from its pieces. |
| note | string | Why it works, in a sentence (optional). |
| pieces* | array | The pieces, by the ids get_closet shows (or their names). |
| occasion | string | work or day_out is the day's main outfit; the others are moments of the day. |
{
"type": "object",
"required": [
"pieces"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "The outfit's name, e.g. \"Office Monday\". Default: from its pieces."
},
"note": {
"type": "string",
"maxLength": 200,
"description": "Why it works, in a sentence (optional)."
},
"pieces": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "The pieces, by the ids get_closet shows (or their names)."
},
"occasion": {
"enum": [
"work",
"day_out",
"evening_out",
"dinner",
"workout",
"date",
"meeting",
"travel",
"event"
],
"type": "string",
"description": "work or day_out is the day's main outfit; the others are moments of the day."
}
},
"additionalProperties": false
}Use this when the user says which weekdays they work, from now on ("I work from home on Fridays", "I started a 4-day week"): sets the weekdays StyleTwin's Today plans as work days; the other days are days out. For one day off or a trip, use plan_outfit with occasion day_out for those days. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| work_days* | array | The weekdays that are work days, 1 = Monday … 7 = Sunday (empty: no work days). |
{
"type": "object",
"required": [
"work_days"
],
"properties": {
"work_days": {
"type": "array",
"items": {
"type": "integer",
"maximum": 7,
"minimum": 1
},
"maxItems": 7,
"description": "The weekdays that are work days, 1 = Monday … 7 = Sunday (empty: no work days)."
}
},
"additionalProperties": false
}Show 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.
| Argument | Type | Description |
|---|---|---|
| page | integer | Which sheet of 30 pieces. |
| size | string | Cells of 128, 200 or 300 px. |
| slot | string | Only pieces worn here: top, bottom, dress, outer (coats and jackets), hat, bag, shoes, accessory. |
| sort | string | place (by where they are worn, then name), newest, most_worn, least_worn or longest_unworn. |
| colour | string | Only pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too). |
| inline | boolean | Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens. |
Use this every time you suggest an outfit or the user asks to see one: it shows the user a StyleTwin card of the outfit in their own pieces, where they can swap a piece, save the outfit or plan it for a day with one tap. Send a saved outfit (look) or the pieces you chose (one piece per place: top, bottom or a dress, outer layer, shoes, bag, hat; accessories can be several), a short title ("Friday dinner") and the day it is for. With Share closet pictures on, the card has the user's own pictures, and the answer also has one numbered JPEG of them with a 24-hour link (size: small = 512 px wide, about 350 tokens in Claude; medium = 1024 px, the default, about 900 to 1,400 tokens; large = 1536 px, for the link; inline: false returns only the link and JSON). Without it, the card shows each piece by name and colour, and the answer says how to turn pictures on. Needs the account connected.
| Argument | Type | Description |
|---|---|---|
| date | string | The day the outfit is for, YYYY-MM-DD: the card's Plan this day starts on it. |
| look | string | A saved outfit (id or name). |
| size | string | 512, 1024 or 1536 px wide. |
| title | string | A short title for the card, e.g. "Friday dinner". Default: a saved outfit's name. |
| inline | boolean | Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens. |
| pieces | array |
Get a one-time address (15 minutes) to upload a picture to the user's StyleTwin with an HTTP PUT. For clients that can make HTTP requests and have a picture file to send. The upload reaches the user's StyleTwin like add_to_closet. Needs Allow changes for this chat in the app.
| Argument | Type | Description |
|---|---|---|
| note | string | What it is, for the user, e.g. "Linen shirt from Zara, size M". |
{
"type": "object",
"properties": {
"note": {
"type": "string",
"maxLength": 200,
"description": "What it is, for the user, e.g. \"Linen shirt from Zara, size M\"."
}
},
"additionalProperties": false
}Step-by-step instructions for doing something in the StyleTwin app: add_pieces, try_on, save_outfit, edit_or_delete_piece, delete_outfit, plan_a_day, log_what_i_wore, trips, credits, ai_chats, privacy. Use it when the user asks how to do something, or for what this chat can't do itself (adding pieces, try-on pictures). Works without a StyleTwin account.
| Argument | Type | Description |
|---|---|---|
| topic | string | What the user wants to do. |
{
"type": "object",
"properties": {
"topic": {
"enum": [
"add_pieces",
"try_on",
"save_outfit",
"edit_or_delete_piece",
"delete_outfit",
"plan_a_day",
"log_what_i_wore",
"trips",
"credits",
"ai_chats",
"privacy"
],
"type": "string",
"description": "What the user wants to do."
}
},
"additionalProperties": false
}Rename a saved outfit, or replace its pieces (ids from get_saved_looks and get_closet). Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| look* | string | The saved outfit, by its id from get_saved_looks (or its name). |
| name | string | A new name. |
| pieces | array | All its pieces, replacing the ones it has. |
{
"type": "object",
"required": [
"look"
],
"properties": {
"look": {
"type": "string",
"description": "The saved outfit, by its id from get_saved_looks (or its name)."
},
"name": {
"type": "string",
"maxLength": 80,
"description": "A new name."
},
"pieces": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "All its pieces, replacing the ones it has."
}
},
"additionalProperties": false
}Change a piece's details: name, owned (true marks a saved shop item as bought), colour name, material, formality, warmth, sleeve, length, pattern, fit or brand. Needs the account connected with changes allowed.
| Argument | Type | Description |
|---|---|---|
| fit | string | |
| name | string | |
| brand | string | |
| owned | boolean | true: the user has it (a saved shop item was bought). |
| piece* | string | The piece, by its id from get_closet (or its name). |
| length | string | |
| sleeve | string | |
| warmth | string | |
| pattern | string | |
| material | string | |
| formality |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 29, 2026.
| warmth | string |
| summary | boolean | Instead of pieces, counts by place, colour family, formality and warmth, and how many are unworn. Start here for a big closet. |
| formality | string |
| never_worn | boolean | Only pieces never worn yet. |
| not_worn_since | string | Only pieces not worn on or after this day (YYYY-MM-DD), never-worn ones included. |
| include_wishlist | boolean | Also list pieces the user saved from shops but doesn't own yet. |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"slot": {
"enum": [
"top",
"bottom",
"dress",
"outer",
"hat",
"bag",
"shoes",
"accessory"
],
"type": "string",
"description": "Only pieces worn here: top, bottom, dress, outer (coats and jackets), hat, bag, shoes, accessory."
},
"sort": {
"enum": [
"place",
"newest",
"most_worn",
"least_worn",
"longest_unworn"
],
"type": "string",
"default": "place",
"description": "place (by where they are worn, then name), newest, most_worn, least_worn or longest_unworn."
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 300,
"minimum": 1,
"description": "Pieces per page."
},
"colour": {
"enum": [
"black",
"white",
"grey",
"beige",
"brown",
"red",
"pink",
"orange",
"yellow",
"green",
"blue",
"purple"
],
"type": "string",
"description": "Only pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too)."
},
"search": {
"type": "string",
"maxLength": 60,
"description": "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": {
"enum": [
"light",
"mid",
"warm"
],
"type": "string"
},
"summary": {
"type": "boolean",
"default": false,
"description": "Instead of pieces, counts by place, colour family, formality and warmth, and how many are unworn. Start here for a big closet."
},
"formality": {
"enum": [
"casual",
"smart",
"evening"
],
"type": "string"
},
"never_worn": {
"type": "boolean",
"default": false,
"description": "Only pieces never worn yet."
},
"not_worn_since": {
"type": "string",
"format": "date",
"description": "Only pieces not worn on or after this day (YYYY-MM-DD), never-worn ones included."
},
"include_wishlist": {
"type": "boolean",
"default": false,
"description": "Also list pieces the user saved from shops but doesn't own yet."
}
},
"additionalProperties": false
}| search |
| string |
| 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 | string |
| columns | integer |
| formality | string |
| never_worn | boolean | Only pieces never worn yet. |
| not_worn_since | string | Only pieces not worn on or after this day (YYYY-MM-DD), never-worn ones included. |
| include_wishlist | boolean | Also list pieces the user saved from shops but doesn't own yet. |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Which sheet of 30 pieces."
},
"size": {
"enum": [
"small",
"medium",
"large"
],
"type": "string",
"default": "medium",
"description": "Cells of 128, 200 or 300 px."
},
"slot": {
"enum": [
"top",
"bottom",
"dress",
"outer",
"hat",
"bag",
"shoes",
"accessory"
],
"type": "string",
"description": "Only pieces worn here: top, bottom, dress, outer (coats and jackets), hat, bag, shoes, accessory."
},
"sort": {
"enum": [
"place",
"newest",
"most_worn",
"least_worn",
"longest_unworn"
],
"type": "string",
"default": "place",
"description": "place (by where they are worn, then name), newest, most_worn, least_worn or longest_unworn."
},
"colour": {
"enum": [
"black",
"white",
"grey",
"beige",
"brown",
"red",
"pink",
"orange",
"yellow",
"green",
"blue",
"purple"
],
"type": "string",
"description": "Only pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too)."
},
"inline": {
"type": "boolean",
"default": true,
"description": "Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens."
},
"search": {
"type": "string",
"maxLength": 60,
"description": "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": {
"enum": [
"light",
"mid",
"warm"
],
"type": "string"
},
"columns": {
"type": "integer",
"default": 5,
"maximum": 8,
"minimum": 3
},
"formality": {
"enum": [
"casual",
"smart",
"evening"
],
"type": "string"
},
"never_worn": {
"type": "boolean",
"default": false,
"description": "Only pieces never worn yet."
},
"not_worn_since": {
"type": "string",
"format": "date",
"description": "Only pieces not worn on or after this day (YYYY-MM-DD), never-worn ones included."
},
"include_wishlist": {
"type": "boolean",
"default": false,
"description": "Also list pieces the user saved from shops but doesn't own yet."
}
},
"additionalProperties": false
}| Or the pieces (ids or names), up to 12. |
{
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The day the outfit is for, YYYY-MM-DD: the card's Plan this day starts on it."
},
"look": {
"type": "string",
"description": "A saved outfit (id or name)."
},
"size": {
"enum": [
"small",
"medium",
"large"
],
"type": "string",
"default": "medium",
"description": "512, 1024 or 1536 px wide."
},
"title": {
"type": "string",
"maxLength": 60,
"description": "A short title for the card, e.g. \"Friday dinner\". Default: a saved outfit's name."
},
"inline": {
"type": "boolean",
"default": true,
"description": "Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens."
},
"pieces": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Or the pieces (ids or names), up to 12."
}
},
"additionalProperties": false
}| string |
| color_name | string |
{
"type": "object",
"required": [
"piece"
],
"properties": {
"fit": {
"enum": [
"slim",
"regular",
"relaxed",
"oversized"
],
"type": "string"
},
"name": {
"type": "string",
"maxLength": 80
},
"brand": {
"type": "string",
"maxLength": 40
},
"owned": {
"type": "boolean",
"description": "true: the user has it (a saved shop item was bought)."
},
"piece": {
"type": "string",
"description": "The piece, by its id from get_closet (or its name)."
},
"length": {
"enum": [
"cropped",
"regular",
"long"
],
"type": "string"
},
"sleeve": {
"enum": [
"sleeveless",
"short",
"three_quarter",
"long"
],
"type": "string"
},
"warmth": {
"enum": [
"light",
"mid",
"warm"
],
"type": "string"
},
"pattern": {
"enum": [
"solid",
"striped",
"checked",
"dotted",
"floral",
"print"
],
"type": "string"
},
"material": {
"type": "string",
"maxLength": 40
},
"formality": {
"enum": [
"casual",
"smart",
"evening"
],
"type": "string"
},
"color_name": {
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false
}