create_constitution
Sign a new AI constitution with named articles and severity levels to get a deterministic hash that every receipt commits to, enabling offline audit against your rules.
Instructions
Sign a new AI constitution. Returns a SignedConstitution whose hash field is the content-addressed identifier. Every receipt produced under this constitution should commit to this hash. The constitution itself is byte-deterministic — anyone can re-derive the hash given the same articles + name + signedBy.
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": {
"name": "<name>",
"signedBy": "<signedBy>",
"articles": "<articles>"
},
"name": "create_constitution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable constitution name. | |
| articles | Yes | Array of ConstitutionArticle: { id, title, text, severity (advisory/warning/blocking), measurableCondition (optional { pack, ruleId }), citations (optional string[]) }. | |
| preamble | No | Optional opening explaining the purpose. | |
| signedBy | Yes | Operator identifier (org legal name). |