schemagate
Validate LLM outputs against a JSON Schema and get a correction hint if validation fails.
Instructions
[$0.001 USDC] Validate that an LLM output conforms to a JSON Schema. Returns valid:true/false with a correction hint on failure.
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": {
"response": "<response>",
"schema": "<schema>"
},
"name": "schemagate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | ||
| response | Yes |