validate_ruleset
Check that an OpenLint/Spectral ruleset is valid BEFORE running or storing it: invalid JSONPath, unknown functions, undefined aliases, and anything the engine rejects. Catalog metadata (title, prompt, x-*) is set aside and reported. Run this on every ruleset you write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable. | |
| ruleset | Yes | A Spectral ruleset to run instead of the catalog default. Score against rules you never adopted means little — pass your own. |