JSON Schema Generator
JSONSchemaGeneratorJSON Schema Generator: JSON Schema Generator is a JSON to JSON Schema API: it inspects sample JSON payloads and generates Draft-07 JSON Schema definitions with inferred types and property formats. It identifies formats like emails and dates, applies custom titles, and lists all properties as required. (Cost: 2 credits)
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": {
"json": "<json>"
},
"name": "JSONSchemaGenerator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The sample JSON data to generate a schema from | |
| title | No | The title for the generated schema (default: 'Generated Schema') | Generated Schema |
| description | No | Optional description for the schema |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |