contract_publish
Publish a new immutable version of an existing private data contract. Older versions remain available for reproducible validation.
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>",
"accessToken": "<accessToken>",
"schema": "<schema>"
},
"name": "contract_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | JSON Schema defining the accepted structure of the data. | |
| contractId | Yes | Unique identifier of the contract. | |
| accessToken | Yes | Secret access token issued for this contract. | |
| operationId | No | Stable unique request identifier. Reuse it only for an exact retry. |