lint
Checks Dockerfiles and Kubernetes manifests for security and configuration issues, returning grade, score, pass/fail status, and findings with line-level fixes.
Instructions
Lint a Dockerfile or Kubernetes manifest. Returns the grade, score, passed and every finding with its
line, fix and reference. Give either content or path.
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": "lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A local file to lint instead of `content`. | |
| type | No | auto detects Dockerfile vs Kubernetes YAML/JSON. | auto |
| ignore | No | Rule ids to skip, e.g. ["DF-017"]. | |
| content | No | The Dockerfile or manifest, as text (up to 512 KiB). | |
| fail_on | No | `passed` is false at this severity or worse. | high |