Try on clothes from another photo
try_onPuts the clothes another of the user's photos shows (with_photo_id) on the person in one of their photos, paid from their credits; part top or bottom takes only that part of the outfit. with_photo_id may not be one of a character's photos, nor photo_id itself. Pass the price the user agreed to as max_credits: the photo's prices from get_shoot or list_photos name it. If a call to this tool got no answer, it may already have started: check list_photos before calling it again.
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": {
"photo_id": "<photo_id>",
"with_photo_id": "<with_photo_id>",
"max_credits": "<max_credits>"
},
"name": "try_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | ||
| again | No | true only when the user, having seen what this same call made, asks for another (a second re-roll of one photo, another take of one shoot). Without it, the same call repeated within 10 minutes answers with what it made and charges nothing: a request already answered is not a new one. | |
| photo_id | Yes | ||
| max_credits | Yes | ||
| with_photo_id | Yes |