check_injection
Scans text for prompt injection attempts using 37+ rules for Chinese and English, including hidden character detection.
Instructions
Detect prompt injection attempts in text. Supports 37+ rules for Chinese and English, with hidden character detection.
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": {
"text": "<text>"
},
"name": "check_injection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan for injection attempts | |
| threshold | No | Detection threshold 0-100 (default: 40, lower = stricter) |