List product options
supply_optionsLists the selectable options (size, color, pack) for an offer whose has_options=true, with one variant per combination. Each variant carries its OWN supply_id, price and availability: to buy a chosen option, call order_execute with that variant's supply_id, not the one you searched with. Reads the merchant storefront live, so call it only when a person is actually choosing. Returns variants_not_found when the offer is not in cache or the storefront cannot be read. A single-variant product returns options:[] variants:[].
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": {
"supply_id": "<supply_id>"
},
"name": "supply_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Agent id, for permission and analytics | |
| supply_id | Yes | Offer supply id whose product options to list (has_options=true on the offer) | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| error | No | ||
| detail | No | ||
| options | No | ||
| variants | No |