generate_custom_payload
Generate custom prompt-injection test payloads from a template and variable values to evaluate AI system defenses and security controls.
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": {
"template": "<template>",
"variables": "<variables>"
},
"name": "generate_custom_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | 载荷模板(支持变量:{{target}}, {{action}}, {{context}}) | |
| variables | Yes | 模板变量值 |