caelara_agent_agent_output_validator
Validate and repair LLM output against a schema and source text, including JSON fixes, grounding checks, and citation extraction.
Instructions
[Agent Safety] Validate LLM output: repair JSON, enforce schema, check grounding against a source, extract citations Measured p50 11 ms, p95 15 ms (2026-11-21, benchmarks.caelaralabs.com). Calls https://agent.caelaralabs.com.
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": {
"output": "<output>"
},
"name": "caelara_agent_agent_output_validator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | Raw LLM output | |
| schema | No | JSON Schema subset to enforce | |
| source | No | Source text for grounding check |