guardrail_test
ActiveTool of IA-QA — 130+ QA & Dev Tools for AI Agents
Test an LLM response against a set of guardrail rules: must-include, must-not-include, max length, required format, language, forbidden patterns, and custom regex. Returns pass/fail per rule.
Parameters schema
{
"type": "object",
"required": [
"response",
"rules"
],
"properties": {
"rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"enum": [
"must_include",
"must_not_include",
"max_length",
"min_length",
"format",
"regex_match",
"regex_not_match",
"starts_with",
"ends_with",
"word_count_max",
"word_count_min"
],
"type": "string"
},
"label": {
"type": "string",
"description": "Optional human-readable label"
},
"value": {
"type": "string",
"description": "Value for the rule (text, number as string, regex, or format name)"
}
}
},
"description": "Array of guardrail rules to check"
},
"response": {
"type": "string",
"description": "The LLM response to test"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
IA-QA — 130+ QA & Dev Tools for AI Agents
https://github.com/jcjamet/ia-qa
1/7 registries