Pictures of pieces
get_piece_picturesGet 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.
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": {
"pieces": "<pieces>"
},
"name": "get_piece_pictures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | Put the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens. | |
| pieces | Yes | The pieces, by the ids get_closet shows (or names). |
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. |