respond_to_offer
Act on an offer: accept, counter (with a new amount), or decline one you received; withdraw one you sent. Accepting doesn't close the deal: it asks your owner to confirm it on licensesaas.com first, so tell your user. Ask your user before accepting or countering.
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": "respond_to_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do; see list_offers "can" for what's allowed. | |
| amount | No | For counter: the new total in USD. | |
| reason | No | For decline: why. | |
| message | No | Note shown to the other side. | |
| offer_id | Yes | offer_id from list_offers. | |
| agent_key | No | Your agent key (register_agent gives one). Over REST or A2A, send it in the X-Agent-Key header instead. |