Ask about a listing
ask_sellerAsk the seller of a listing one question, or send them a message: availability, condition, what is included, timing, location, sizes, how shipping or delivery works. Your first question opens a conversation with the seller on Egonex under an anonymous visitor identity (no email address or Egonex account needed), and the seller sees every question in their Egonex inbox. Pass the conversation_id from the answer with every later question in the same conversation, about this or another listing; each seller you ask gets their own chat in that conversation. If the seller has their assistant (Ego) answering (seller.answers_questions is true in search results), Ego replies in the chat and the reply comes back in this response; Ego declines questions that are not about this store (reason declined). About the listing you ask about, when the seller has set a lowest price, Ego can also talk price with you about that listing: it may counter once, and when you agree a price the answer has deal (deal.id, valid for 24 hours, for one request_order). For 24 hours it holds the price it named to you and won't go lower. Ego only agrees a price in its answer: request_order with that deal_id uses it. When Ego isn't answering (the seller hasn't turned it on or has paused it in this chat, or Ego's answers for this seller today are used up), the question still goes to the seller in the chat (reason sent_to_seller) and the seller can reply there; nothing guarantees a reply. To read what the seller or Ego writes later, call check_conversation with the conversation_id; each answer also has new_messages, what the seller or Ego wrote in this chat since your previous question (other than Ego's reply to it, which came back then), and answer_message_id, the id of Ego's reply in the chat, so you can skip messages you already have. Ego answers a limited number of questions per conversation for each seller per day (UTC). While Ego isn't answering, at most 10 messages in any 60 seconds and 1,000 a day (UTC) go to each seller in a conversation (after that, nothing is sent: reason slow_down, with retry_at), unless there is an order with that seller that has been paid and that the seller accepted. Anyone holding a conversation_id can read the seller's replies in it, so keep it private; it stops working 7 days after it was last used (each use starts the 7 days again). When an answer has expiry_notice, tell your user its message: it says how long the conversation is kept here and how not to miss the seller's replies. Pass accept_terms=true only if your user agreed to Egonex's Terms of Service (https://legal.egonex.ai/en/terms) and Privacy Policy (https://legal.egonex.ai/en/privacy); Egonex then records that for this conversation (asking works either way). To retry a question (for example after a timeout), pass the conversation_id from the earlier answer: the same question about the same listing within 2 minutes then returns the earlier result instead of sending it twice. Without a conversation_id, a retry starts a new conversation and the seller gets the question again.
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": {
"offer_id": "<offer_id>",
"question": "<question>"
},
"name": "ask_seller"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | The listing id from search_offers (the 8-character id at the end of a listing page URL also works). | |
| question | Yes | Your question or message to the seller, up to 1,000 characters. | |
| accept_terms | No | true only if your user agreed to Egonex's Terms of Service (https://legal.egonex.ai/en/terms) and Privacy Policy (https://legal.egonex.ai/en/privacy). Optional: asking works without it. | |
| conversation_id | No | From your previous ask_seller answer in this conversation, about this or another listing. It works for 7 days after it was last used; without it (or after that), a new conversation starts. Keep it private: it also reads the seller's replies (check_conversation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal | No | The price Ego agreed with you (only when it agreed one). Pass deal.id as deal_id to request_order within 24 hours; that request then keeps this price for pay_order and for the order your user pays on Egonex. | |
| next | Yes | What to do next. | |
| offer | Yes | One listing. | |
| answer | No | Ego's reply in the chat, or what Ego said when it didn't answer. | |
| reason | No | Why there is no answer: sent_to_seller (Ego isn't answering; the question is in the chat with the seller, who can reply there), handoff (Ego passed the question to the seller), declined (not about this store), slow_down (nothing was sent: too many messages in a short time; see next and retry_at), unavailable (Ego couldn't answer just now) or another reason, explained in next. | |
| answered | Yes | true = answer is the seller's assistant answering now. | |
| retry_at | No | With slow_down or handoff when a limit was reached: when you can send again (RFC 3339, UTC). | |
| email_status | No | Only where leaving an email address is available: none (no address left), pending (waiting for your user to open the confirmation link) or confirmed. | |
| new_messages | No | What the seller or Ego wrote in this chat since your previous question, oldest first, other than Ego's reply to that question (empty when there is nothing new). | |
| expiry_notice | No | When present, tell your user message: it says how long this conversation is kept here and how not to miss the seller's replies (or that the conversation_id you passed had expired). | |
| conversation_id | No | When present: pass it with your next ask_seller question in this conversation and to check_conversation; it works for 7 days after it was last used. Keep it private: it reads the seller's replies. | |
| answer_message_id | No | The id of Ego's reply in the chat (the same ids as in check_conversation and new_messages), when Ego wrote one. | |
| retry_after_seconds | No | With retry_at: seconds until then. |