register_decision_table
Registers a decision table under a stable ID and immutable version so evaluations can reference it and receipts record the exact policy version; identical re-registration is a no-op.
Instructions
Register a decision table under a stable table_id and an immutable version, so evaluate_decision can name it and every Receipt it produces records which policy version applied. Returns table_id, version, table_hash (SHA-256 of the table's RFC 8785 canonical JSON), domain and policy. Registering the same content again under the same id and version is a no-op; different content under an existing id and version is refused: register it as a new version. Persists to the server's tables directory when one is configured.
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": {
"table_id": "<table_id>",
"version": "<version>",
"table_json": "<table_json>"
},
"name": "register_decision_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Optional domain the table governs, e.g. 'retention' or 'escalation'. | |
| policy | No | Optional policy reference the table implements, e.g. a policy document URI. | |
| version | Yes | Immutable version label, e.g. '1.0' or '2026-10-18'. | |
| table_id | Yes | Stable identifier, e.g. 'cordova.access-control'. Letters, digits, '.', '_', '-'. | |
| table_json | Yes | JSON string defining the decision table (same format as evaluate_decision). |