check_constraints
Self-check for weak agents: text plus a closed constraint vocabulary (min/max_chars/bytes/words, max_lines, points, point_max_words, must_contain, must_not_contain, contains_date, contains_number, starts_with, ends_with, no_markdown, max_urls, https_only) -> pass/fail per constraint, first_failure and errors[] naming what to fix. Replaces self-reporting. 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>",
"constraints": "<constraints>"
},
"name": "check_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | No | fold | |
| text | Yes | ||
| constraints | Yes |