Archive Agency Offer
agency_offer_archiveArchives an offer so it can no longer be published or used for new enrollments. Requires an agency owner or admin and the current offer revision. Existing installations are not removed.
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": {
"partnerId": "<partnerId>",
"offerId": "<offerId>",
"expectedRevision": "<expectedRevision>"
},
"name": "agency_offer_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerId | Yes | The offer to archive. | |
| partnerId | Yes | The agency (partner) workspace ID. | |
| expectedRevision | Yes | The offer revision you last read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |