Publish Agency Offer
agency_offer_publishPublishes the previewed offer as a new immutable version and returns its enrollment link. Requires an agency owner or admin, plus the fingerprint and revision from preview; partner-billed offers also need billing collection to be ready. Publishing the same fingerprint again returns the existing version.
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>",
"fingerprint": "<fingerprint>"
},
"name": "agency_offer_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerId | Yes | The offer to publish. | |
| partnerId | Yes | The agency (partner) workspace ID. | |
| fingerprint | Yes | The manifest fingerprint returned by preview. | |
| expectedRevision | Yes | The draft revision returned by preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |