Accept or decline offer
respond_to_offerAccept or decline an offered deal: first call previews the decision and returns a confirmation token; call again with that token to record it.
Instructions
Records the creator's decision on an offered deal: accept -> accepted, decline -> declined. TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.
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": {
"deal_id": "<deal_id>",
"decision": "<decision>"
},
"name": "respond_to_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| deal_id | Yes | ||
| decision | Yes | ||
| confirm_token | No | Omit on the first call to get a preview. Pass the token from the preview (with identical arguments) to apply the change. |