red_team
Evaluate sanitizer effectiveness by running injection payloads. Reports caught inputs and matched patterns for security review compliance.
Instructions
Run a curated set of injection payloads through the sanitizer.
Use when: "is the sanitizer actually catching things?", "compliance evidence for security review". Example: strict=False (default; reports hits without raising).
Each result row shows {"input", "caught", "pattern"}. caught
is True iff the sanitizer matched any pattern.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "red_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | ||
| extra_patterns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |