small_upgrade_contract
Add or remove individual subscription items to upgrade or downgrade a contract without changing its template. Use it for add-ons or optional line items while keeping the contract structure intact.
Instructions
Perform a small upgrade or downgrade on a contract by adding or removing individual subscription items. This does not change the subscription template, only the items within it. Useful for adding add-ons or removing optional line items.
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": {
"contractNumber": "<contractNumber>"
},
"name": "small_upgrade_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemsToAdd | No | Array of item objects to add to the contract. Each object describes a subscription item. | |
| upgradeDate | No | The date the upgrade should take effect, in YYYY-MM-DD format. | |
| itemsToRemove | No | Array of item numbers to remove from the contract. | |
| contractNumber | Yes | The unique contract number to upgrade/downgrade. | |
| copyCustomPrices | No | Whether to copy custom prices from the current contract to the upgraded items. | |
| hintTextCustomer | No | A hint or note text visible to the customer regarding this upgrade. |