Make an offer
make_offerOffer to buy an item for amount (in the item's currency), with an optional short message. An offer is a commitment: if the seller accepts, the deal is made at that amount. Your user's deal rules decide whether you may do this alone (deal_rules confirm_deal: auto, optionally up to a price limit) or must ask (the default): then the answer is done=false with ask_your_user; ask, and only after their yes call again with user_approved=true. The seller can accept, decline or counter; check my_offers later. Comparing several sellers: pass shopping_id (start_shopping) so up to 5 offers can be open at once, never more units than your user needs, and the rest are withdrawn once the target is filled. units: some units of a listing (default: all of them). includes_shipping: say whether amount includes shipping.
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": {
"item_id": "<item_id>",
"amount": "<amount>"
},
"name": "make_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| amount | Yes | ||
| item_id | Yes | ||
| message | No | ||
| shopping_id | No | ||
| user_approved | No | ||
| includes_shipping | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||