Interface Contracts Update
interface_contracts_updateUpdate an interface contract. Content merges by key: send only changed content keys, using arrays for metadata, to preserve existing scalar/list values. PUT requires endpoints, interface_type and description_payload; an omitted lock stays unchanged. Prefer interface_contracts_patch for partial edits. A locked interface contract refuses changes to its interface type, payload and wording, and deletion, until a person unlocks it in Entalpa; its endpoints and implementation progress (implementation_status, implementation_notes, code_reference, test_reference, tests) can still be written, and labels_assign still labels it. lock: true locks the row; lock: false is ignored, since only a person unlocks, in Entalpa.
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": {
"project_id": "<project_id>",
"interface_contract": "<interface_contract>",
"interface_contract_id": "<interface_contract_id>"
},
"name": "interface_contracts_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project UUID (database id). | |
| interface_contract | Yes | Interface contract fields. | |
| interface_contract_id | Yes | Interface contract UUID (database id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | Yes | True when the row is locked: generation leaves it out, and what it says can't change, nor can it be deleted, until a person unlocks it in Entalpa. Its links, subsystem or endpoints, implementation progress and a requirement's lifecycle can still be updated. | |
| labels | Yes | Labels the item carries, by name. Set them with labels_assign and labels_unassign. | |
| content | Yes | Free-form interface contract metadata returned by the server. Raw interface contract content need not contain a requirement id or statement; its values may be strings or lists of strings. | |
| human_id | Yes | Generated interface requirement identifier, for example REQ-INT-001. | |
| project_id | Yes | Project UUID (database id). | |
| interface_type | Yes | Interface type. Supported values: DATA, TRIGGER, STATE. | |
| description_payload | Yes | Payload, event, or state condition that crosses the interface. | |
| source_subsystem_id | Yes | Subsystem UUID (database id). | |
| target_subsystem_id | Yes | Subsystem UUID (database id). | |
| interface_contract_id | Yes | Interface contract UUID (database id). |