Test LM Studio structured output
lmstudio_test_structured_outputTest JSON Schema enforcement for structured output independently from JSON mode and prompt-only JSON, then validate with Ajv.
Instructions
Test JSON Schema enforcement independently from JSON mode and prompt-only JSON, then validate output with Ajv.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| endpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| results | Yes | ||
| success | Yes | ||
| selectedEndpoint | Yes | ||
| schemaEnforcedVerified | Yes |