verify_invariants
Checks whether a supplied artifact, such as code, a diff, or a design, preserves each stated invariant before execution.
Instructions
Check whether a supplied artifact preserves each stated invariant.
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": {
"artifact": "<artifact>",
"invariants": "<invariants>"
},
"name": "verify_invariants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional goals or constraints. | |
| artifact | Yes | The code, diff, or design to check. | |
| invariants | Yes | Conditions the artifact must preserve. |