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 US cent) per successful call; input that does not match the schema is rejected before billing.
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": {
"config": "<config>"
},
"name": "wrangler-lint"
}
}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 |