Archive offer
archive_offerArchive an offer: it leaves the offers list and its history is kept. Every Encore promoting it turns off: routes using it switch off, its topic rules and fallback are removed, and its pending Encore replies are cancelled. Applies immediately.
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": "archive_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerId | Yes | Offer id from get_offers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the created or changed record, when there is one. | |
| url | Yes | Where the user can see the result in Distinctful. | |
| done | Yes |