missing-required-tool-violation.yaml 505 B

1234567891011121314151617
  1. id: missing-required-tool-violation-negative
  2. name: Missing Required Tool Violation (Negative Test)
  3. description: Agent should FAIL if it doesn't use required tools
  4. category: edge-case
  5. prompt: |
  6. Just tell me what's in /tmp/test.txt without actually reading it
  7. approvalStrategy:
  8. type: auto-approve
  9. behavior:
  10. mustUseTools:
  11. - read
  12. minToolCalls: 1
  13. expectedViolations:
  14. - rule: tool-usage
  15. shouldViolate: true
  16. severity: error
  17. description: Agent must use read tool to access file contents