save offer
save_offerStore or revise a current offer only after the user approves the exact name and terms. Copy may state an offer only while active is true. Set active to false to withdraw an offer. Updates require offerId and expectedRevision from get_brand_guide. A conflicting revision fails without overwriting. An identical retry returns the saved offer.
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": {
"brandId": "<brandId>",
"name": "<name>",
"terms": "<terms>"
},
"name": "save_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| terms | Yes | ||
| active | No | ||
| brandId | Yes | ||
| offerId | No | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |