check_action
Enforce a guardrail: verify an agent action against a compiled policy using formal verification. An SMT solver — not an LLM — determines whether the action satisfies every rule. Returns SAT (allowed) or UNSAT (blocked) with extracted values and a cryptographic ZK proof that the check was performed correctly. Cannot be jailbroken. 1 credit ($0.01). Requires api_key. Tip: end the action with an explicit claim like 'I assert this complies with the policy' for best extraction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The agent action to verify against the policy (max 2000 chars) | |
| api_key | Yes | Your ICME API key | |
| policy_id | Yes | Policy ID from make_rules |