Publish Wholesale Terms
agency_billing_publish_termsPublish a new version of wholesale commercial terms—discount, grace days, terms document, and effective date—for one agency or all agencies; agencies must accept it.
Instructions
Publishes a new set of wholesale commercial terms (discount, grace days, document and start date) for one agency, or for all agencies when partnerId is null. Platform commercial operators only. Each call publishes another version; agencies must still accept it.
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>",
"title": "<title>",
"discountBps": "<discountBps>",
"graceDays": "<graceDays>",
"document": "<document>",
"effectiveFrom": "<effectiveFrom>"
},
"name": "agency_billing_publish_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Name of the terms. | |
| document | Yes | The full terms text. | |
| graceDays | Yes | Days allowed for payment before collection is overdue. | |
| partnerId | Yes | The agency (partner) workspace ID. | |
| discountBps | Yes | Wholesale discount in basis points (100 = 1%). | |
| effectiveFrom | Yes | When the terms take effect (ISO date-time). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |