Lint Spec
lint_specValidate API specifications against style guide rules and return violations grouped by severity with rule details and affected paths. Use it to find style issues before publishing.
Instructions
Validate an API specification against style guide rules. Returns violations grouped by severity (error, warning, info) with rule details and affected paths. Use this to check against style guide rules; to check against the OpenAPI standard use validate_spec. Requires project context.
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": {
"specId": "<specId>"
},
"name": "lint_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Public ID (GUID) of the API specification to lint | |
| versionId | No | Version GUID to lint alone, without a notification. Omit for all. |