deleteContract
Delete a draft contract. Deleting is permanent and cannot be undone. Returns the contract as it was before the delete. Only a draft can be deleted: an issued contract the customer has not signed is declined once its expiration date passes, and a signed one is ended with terminateContract. 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>"
},
"name": "deleteContract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | The id of the contract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes |