Search clothes, shoes and bags in stock
search_piecesFind in-stock new and pre-owned clothes, shoes, bags, jewellery, watches, and home objects at independent luxury boutiques, filtered by designer, category, size, price, city, and men's or women's.
Instructions
Search what is in stock right now at independent luxury boutiques: clothes, shoes, bags, jewellery, watches and home objects, new and pre-owned. Each result has the price in the boutique's currency, the sizes in stock, the shop that has it and the shopwithin.co page to buy it. Use this when someone wants to find or shop for an item, a designer's items, something in their size or under a price, or what is in stock in a city. A plain sentence works as the query (prices like 'under $400' and 'cheapest' are understood); designers, categories, sizes, women's or men's, boutiques, city and price narrow it. With no arguments it returns the front of the shop; lens browses new arrivals, most saved, or marked down. It reads only the boutiques on within, not mass market stores, and gives no style advice.
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": "search_pieces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | The city the boutiques are in, e.g. 'Toronto': a place to shop, not the shopper's own location. If within has no boutiques there yet, the answer says so and names the cities that have them. | |
| lens | No | Browse a shelf instead of searching: 'new' = just arrived, 'trending' = what people are saving, 'sale' = marked down. Ignored when a query or filters are given. | |
| sort | No | ||
| limit | No | Pieces per page, default 12. | |
| query | No | What the shopper wants, in plain words: 'black leather loafers', 'Lemaire', 'a birthday gift for my dad under $300'. | |
| sizes | No | Sizes that must be in stock, as labelled on the shelf: 'M', '42', 'US 9', 'IT 38'. | |
| brands | No | Designer or house names to restrict to, exactly as they appear in results. | |
| offset | No | Pieces to skip; use next_offset from the previous page. | |
| boutiques | No | Boutique domains to restrict to, as shown on boutiques and pieces (e.g. 'wdlt117.myshopify.com'). | |
| price_max | No | Highest price to include, in the boutique's currency. | |
| price_min | No | Lowest price to include, in the boutique's currency. | |
| categories | No | Product types to restrict to, e.g. 'Sneakers', 'Bags'; take values from a previous result's facets. | |
| department | No | Only women's or only men's. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| total | Yes | ||
| facets | Yes | ||
| pieces | Yes | ||
| view_url | Yes | ||
| next_offset | Yes | ||
| total_is_floor | Yes | ||
| related_searches | Yes |