Put together an outfit
generate_outfitUse this when the user wants a complete outfit. Primary chat path is prompt-based generation; widget actions may call this with product_id for item-based outfit generation. Pass gender when you know who the outfit is for. Do not use this for single-item product search. The result's content is a plain-text summary of the outfit (each piece with brand and price); structuredContent.outfit holds the same pieces with product ids and shop links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ||
| gender | No | Who the clothes are for: 'female' or 'male'. Set it whenever the user says or the conversation suggests it ('for my boyfriend', 'women's', a gender they mentioned earlier, the kind of piece they ask for). Only ask the user if there is no hint at all and the answer would clearly differ by gender. Omit for unisex requests. | |
| prompt | No | ||
| country | No | ISO 3166-1 alpha-2 code of the country the shopper is in (e.g. 'DE', 'US'), if known. Used to show shops that deliver there. | |
| max_budget | No | Total outfit budget in EUR. Pass the user's budget when they give one, and a high one (e.g. 3000) when they ask for designer or luxury pieces. Omitted, the outfit is kept to about EUR 700. | |
| product_id | No |