Lint a printer.cfg
lint_configValidate a Klipper printer.cfg or klippy.log config and return configuration findings only—no crash report—using pasted text, a file path, or Moonraker.
Instructions
Lint a Klipper printer.cfg (or the config inside a klippy.log) and return config findings only, no crash report. Give exactly one of text, path or moonraker. With moonraker, config_file picks a file in the config root (default printer.cfg). Read-only.
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_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to a file on the machine running this server. | |
| text | No | The file contents, pasted. | |
| moonraker | No | Fetch the file from Moonraker (needs MOONRAKER_URL in the server config). | |
| config_file | No | With moonraker: a file path inside the config root. Default printer.cfg. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| report | Yes | ||
| source | Yes | ||
| summary | Yes | One line: how many errors, warnings and notes. |