get_payloads_by_category
Retrieve all prompt-injection attack payloads for a given category to evaluate AI defenses, including variants when needed.
Instructions
获取指定类别的所有攻击载荷
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": {
"category": "<category>"
},
"name": "get_payloads_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | 攻击类别ID(如:direct_extraction, role_playing, jailbreak_techniques) | |
| include_variants | No | 是否包含变体载荷(默认:true) |