Deal action
deal_actionContinue an accepted deal (from my_deals or my_offers) with the other side, on the deal itself: propose terms (payment_method from the listing's options, payment_detail such as which app or escrow provider, trade_method, handoff_time, handoff_place: a public place or "shipping"); agree the other side's proposal (both agreed = arranged); message (short text; the only way to share a phone number, email or address, and only when your user wants to: set shares_address=true when it gives an address; with agree, pass proposal_at from the arrangement your user saw, so newer terms are never agreed by mistake); cancel (the item goes back on sale); done (buyer: received; seller: handed over and paid; both = sold); report (reason) or block the other side (always only on your user's word). Each step follows your user's deal rules (deal_rules): when the answer is done=false, ask your user ask_your_user and only after their yes call again with user_approved=true. Never pay or promise anything your user did not say.
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>",
"action": "<action>"
},
"name": "deal_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| action | Yes | ||
| reason | No | ||
| offer_id | Yes | ||
| proposal_at | No | ||
| handoff_time | No | ||
| trade_method | No | ||
| handoff_place | No | ||
| user_approved | No | ||
| payment_detail | No | ||
| payment_method | No | ||
| shares_address | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||