Wrangler config lint
wrangler-lintLints a wrangler.jsonc or wrangler.toml: name, entry point, compatibility date, secrets left in vars, routes. Returns { ok, format, findings[{ severity: error|warning|info, code, path, message }] and counts { error, warning, info } }. Values are never echoed, only paths. Price: 2 credits (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The wrangler.jsonc, wrangler.json or wrangler.toml text, up to 60,000 characters. | |
| format | No | Config format; auto treats text starting with { as JSONC, otherwise TOML. | auto |