display_recommendations
Send a curated selection to the Tawadoo widget.
Search tools can already render relevant recommendations through auto_display. Use this tool only when you need to replace that automatic display with a curated subset, a different order, or a combined selection from multiple searches. The widget will display those listings as product cards — nothing more, nothing less.
When to call
A search returned relevant recommendations but
auto_displayincludes cards you will not mention → call this once with your final subsetMultiple relevant searches were needed and you have picked your 1–10 final recommendations → call this once to combine them
One broad search returned many relevant listings and you want the widget to show a different order → call this once with that order
is_relevant=falseor no recommendations → do not call this (nothing to display)
What to pass
product_urls: the ordered list ofproduct_urlvalues of the listings you are recommending, most relevant firstPass exactly the URLs you will link in your text response — the widget mirrors your text selection
If you ran several searches or searched several categories, include selected URLs from all relevant searches in this one call
1–10 items; never pass more than you actually recommend in text
What happens
The widget renders only these listings as product cards. smart_search and compare auto-display their server-selected recommendations when a single search returns relevant results; use this tool only when you need to replace that automatic display with your curated subset.
Rules
Always use
product_urlvalues exactly as returned by the search tool — never rewrite or reconstruct URLsThis tool can only render URLs returned by recent search tools. If you do not have exact current
product_urlvalues, search first.If the user switched language since the last search, run a new search with the new
localefirst; old-locale URLs are not valid for the new localeThis is the last tool call before your text response only when you need to override
auto_displayNever call this for an empty result, weak match, exploratory search, diagnostic candidate set, or a result you plan to replace with another search
Args
product_urls: ordered list ofproduct_urlstrings from the final selected recommendations. Most relevant first.The widget shows every displayed listing with its photo and link, and a View all button. Do not list the listings again and do not show or add images. Reply in a few sentences that compare or advise about those listings and ask a useful follow-up question. For more results, point the user to the View all button in the widget.
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": {
"product_urls": "<product_urls>"
},
"name": "display_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_urls | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |