Accept Offer
accept_offerAccepts one buyer's offer on the caller's own listing on XP -- 'accept the $200 offer on my tickets'. The offer comes from a buyer, not from XP. Accepting is a sale and cannot be undone: the seller then transfers the tickets through XP to that buyer by a deadline XP sets at acceptance, and missing it can cancel the sale and forfeit the payout. The deadline is per sale, not a fixed window; the result carries it, or says XP has not set it yet. confirm=false returns a preview of the offer; confirm=true accepts it, and only that call returns success=true. identifier and offer_uuid come from get_my_listing_status. Requires sign-in and the write:listings scope.
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": {
"identifier": "<identifier>",
"offer_uuid": "<offer_uuid>",
"confirm": "<confirm>"
},
"name": "accept_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Required. True to accept the offer; False to preview without accepting. | |
| identifier | Yes | Public listing identifier from list_my_listings or get_my_listing_status. | |
| offer_uuid | Yes | Offer UUID from get_my_listing_status open_offers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||