Teach your guard
teach_guardLabel one prompt for your own guard so it stops repeating a mistake (a false alarm on a normal request, or a missed injection). Needs an API key (get_free_key). About 50 of your own labels cut false alarms from 15% to 4% in our benchmark.
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>",
"injection": "<injection>"
},
"name": "teach_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | the prompt | |
| injection | Yes | true if it IS an injection/jailbreak, false if it is a normal request |