generate_model_from_json
Create Pydantic models automatically from JSON data to enable structured validation and schema generation for Python applications.
Instructions
Infer candidate Pydantic models from a JSON string or JSON-like payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_input | Yes | ||
| model_name | No | GeneratedModel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| artifacts | No | ||
| diagnostics | No | ||
| resolved_target | No |