agent_output_validator
Validate LLM output: repair JSON, enforce schema, check grounding against a source, extract citations
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": "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 |