schema_validate
Validates a JSON payload against a SQL, Prisma, or JSON Schema, returning detailed type errors and missing field reports.
Instructions
Validate a JSON data payload against a schema definition (SQL, Prisma, or JSON Schema) and report detailed type errors and missing fields.
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": {
"schemaInput": "<schemaInput>",
"dataPayload": "<dataPayload>"
},
"name": "schema_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataPayload | Yes | The JSON data object or array to validate. | |
| schemaInput | Yes | The schema definition to validate against. |