delete_contract
Deletes a draft or test contract by its ID. Use when a contract must be removed before sending or after testing, without affecting active contracts.
Instructions
Deletes a contract. The contract can only be deleted if it's a test contract or a draft contract.
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>"
},
"name": "delete_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_id | Yes | GUID of the contract to be deleted. |