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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lmstudio_test_structured_output"
}
}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 |