ai_red_team
Generate adversarial test cases for an AI system prompt. Produces a structured runbook with attack categories to identify vulnerabilities.
Instructions
Generate adversarial test cases for an AI system prompt (SEC-005).
Produces a red team runbook: specific adversarial inputs tailored to the system prompt, organized by attack category. Returns a structured framework for the host to generate the test cases.
Args: system_prompt: The system prompt to red team. num_test_cases: Number of test cases to generate (default 10, max 30).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"system_prompt": "<system_prompt>"
},
"name": "ai_red_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_prompt | Yes | ||
| num_test_cases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |