check_redlines
The negative-constraint gate: forbidden words, regexes, PII shapes (email/card/iban/phone/ssn), byte budget -> clean, or the FIRST violation with rule and offset. Instructions like 'never include identifiers' degrade as context grows; this scan does not. Free.
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>",
"rules": "<rules>"
},
"name": "check_redlines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| rules | Yes |