update_offer
Edit an existing offer's details, such as advertiser, exchange rate, duration, or activation status, but only when the offer has no trades yet.
Instructions
Edit an existing offer. Only allowed when the offer has no trades yet.
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": {
"offerId": "<offerId>"
},
"name": "update_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Owner's external user ID (for authorization). Defaults to your own user ID. | |
| offerId | Yes | Offer UUID | |
| isActive | No | Toggle offer active/inactive | |
| advertiser | No | Updated advertiser display name | |
| exchangeRate | No | New exchange rate | |
| durationHours | No | Updated duration in hours |