updateContract
Change a draft contract; omitted fields keep their current values. Returns the updated contract. Only a draft can be changed: an issued, signed, declined, or terminated contract cannot. items and signers replace the current lists as a whole, so pass every item or signer the contract should keep. expirationDate is the last day the contract can be signed. The end date must be after the expiration date and not in the past, and the start date before the end date; null removes startDate or endDate. 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>",
"contract": "<contract>"
},
"name": "updateContract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | Contract fields to update. | |
| contractId | Yes | The id of the contract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes |