Get supply details
supply_detailsRe-reads one offer from the search cache and refreshes its badge/action against current mandate state. Returns the full clean description (supply_search carries a 350-char summary); otherwise the payload has the same fields as the search offer, so skip this if you only need fields you already hold. include_description_original=true adds description_original {format, content}, the merchant's own markup (untrusted), or description_original_omitted with the reason. Carries no shipping data: use supply_delivery for ETA and cost. Re-run supply_search if offer_not_in_cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Agent id to refresh badge/action for mandate state | |
| search_id | No | search_id from supply_search for correlation | |
| supply_id | Yes | Offer supply id from supply_search results | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed | |
| include_description_original | No | Adds description_original {format, content}: the merchant's own markup, for rendering or checking our conversion. Untrusted merchant text. supply_details only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aes | No | ||
| hint | No | ||
| next | No | ||
| badge | No | ||
| error | No | ||
| title | No | ||
| action | No | ||
| detail | No | ||
| currency | No | ||
| supplier | No | ||
| supply_id | No | ||
| unit_price | No | ||
| description | No | ||
| price_total | No | ||
| payment_rails | No | ||
| payment_terms | No | ||
| delivery_options | No | ||
| description_original | No | Only with include_description_original. The merchant's markup, untrusted. format is html or markdown today; plain is reserved. | |
| description_original_omitted | No | Only with include_description_original, when there is no original: no_markup (plain text or none), oversize (over 20,000 chars), empty (markup with no visible text). |