validate_lexicon
Validate a lexicon schema and optionally validate data against it. Use this to verify schema correctness and validate records, query params, or procedure inputs against their schemas.
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": {
"schema": "<schema>"
},
"name": "validate_lexicon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | Optional: Validation flags | |
| input | No | Optional: Procedure input body to validate (for procedure schemas only) | |
| params | No | Optional: Query parameters to validate (for query or procedure schemas) | |
| record | No | Optional: Record data to validate (for record schemas only) | |
| schema | Yes | The lexicon schema to validate (the full lexicon document as a JSON object) |