update_contract
Change a contract. Required: contract_id. Same optional fields as create_contract. Changing ends_on, notice_months, auto_renew or renew_months recalculates the derived deadlines; manually entered ones are never touched.
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": "update_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Free-text notes | |
| title | No | Title of the contract | |
| status | No | New status | |
| ends_on | No | End date of the contract term (ISO date); basis for derived deadlines | |
| lead_id | No | ID of the lead | |
| our_role | No | Our side in the contract (customer, provider, landlord, tenant, partner, other); decides whom a notice period binds | |
| reference | No | External reference or contract number; used for idempotent imports | |
| starts_on | No | Start date of the contract term (ISO date) | |
| account_id | No | ID of the account (company) | |
| auto_renew | No | Whether the contract renews automatically when not terminated | |
| contact_id | No | ID of the contact | |
| contract_id | Yes | ID of the contract to change | |
| renew_months | No | Length of each automatic renewal in months | |
| value_amount | No | Contract value per value_period | |
| value_period | No | Period the value refers to, e.g. month, quarter, year or once | |
| contract_type | No | Contract type, e.g. rental, service, maintenance, lease, insurance, nda or other | |
| notice_months | No | Notice period in months before the term ends | |
| our_account_id | No | ID of the own company (account) | |
| source_file_id | No | ID of the source file | |
| source_root_id | No | ID of the source root folder | |
| value_currency | No | Currency of the contract value, e.g. EUR or CHF | |
| counterparty_name | No | Name of the other contracting party |