terminateContract
Terminate a signed contract immediately, with a reason. Terminating is permanent and cannot be undone, and the customer is emailed about it. Returns the terminated contract. It does not end the subscription or void the invoices the contract created: change those with the subscription and invoice tools. Only a signed contract can be terminated. Get contractId from getContracts. Never invent UUIDs; only use values from prior tool responses.
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": {
"contractId": "<contractId>",
"reason": "<reason>"
},
"name": "terminateContract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Reason for termination. | |
| contractId | Yes | The id of the contract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes |