Skip to main content
QWED Open Responses provides 6 verification guards.

SchemaGuard

Validates AI outputs against JSON Schema.

Options


ToolGuard

Blocks dangerous tool calls and patterns.

Default blocked tools

  • execute_shell, bash, cmd
  • delete_file, remove_file
  • send_email, transfer_money

Default dangerous patterns

  • DROP TABLE, DELETE FROM
  • rm -rf, rmdir /s
  • eval(, exec(, __import__

MathGuard

Verifies mathematical calculations.

What it checks

  • Totals: total = subtotal + tax + shipping
  • Percentages: tax_amount = subtotal * tax_rate
  • Inline calculations: "5 + 3 = 8"

StateGuard

Validates state machine transitions.

ArgumentGuard

Validates tool call arguments.

Supported types


SafetyGuard

Comprehensive safety checks.

Detections


Combining guards