Cancel contract product
cancel_contract_productCancel a single service on a contract with options for no refund, full refund, or pro-rata refund. Use to terminate a live service immediately.
Instructions
Cancel a single service on a contract, with refund control. refund_mode: 0 = no refund, 1 = full refund, 2 = pro-rata refund. DESTRUCTIVE: cancels a live service.
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": {
"contract_id": "<contract_id>",
"contract_product_id": "<contract_product_id>"
},
"name": "cancel_contract_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_id | Yes | Contract UUID | |
| refund_mode | No | 0 no refund (default), 1 full, 2 pro-rata | |
| refund_source | No | 0 original source (default), 1 wallet only | |
| cancellation_reason | No | ||
| contract_product_id | Yes | Contract product UUID |