get_related_experiences
Use this when a widget or client holds a selected product_id and needs related products to pair with it, do after it, find nearby, or find similar alternatives. Returns cached graph and semantic related products for trio-style widgets.
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_id": "<product_id>"
},
"name": "get_related_experiences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response shape. 'json' returns structured records; 'text' returns the same content rendered as a short narrative paragraph for chat surfaces. | json |
| context | No | Relationship type: pair, after, nearby, or similar. | pair |
| language | No | BCP-47 language code for human-readable fields (e.g., 'en', 'fr-FR'). Defaults to English when omitted. | |
| product_id | Yes | Stable product_id or slug for the source experience. | |
| max_results | No | Number of related products to return. Default 6, max 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| detail | No | ||
| context | No | ||
| message | No | ||
| related | No | ||
| source_id | No | ||
| error_type | No | ||
| schema_version | No |