▲HIGHLAND DOCS

Wrangler config lint API

Lints a wrangler.jsonc or wrangler.toml: name, entry point, compatibility date, secrets left in vars, routes. This is one of 71 pay-per-call tools in the Highland Intel API, also available as an MCP tool named wrangler-lint.

Price

2¢ per successful call (USD). 1 credit = 1 US cent. After the daily free allowance, pay with credits or per call with x402 (USDC on Base). Category: Agent tools.

Try it

POST https://api.highlnd-intel.group/v1/api/wrangler-lint with a Bearer key and a JSON body.

curl · API key
curl -s https://api.highlnd-intel.group/v1/api/wrangler-lint \
  -H "authorization: Bearer $HIGHLAND_KEY" \
  -H "content-type: application/json" \
  -d '{"config":"{\n  \"name\": \"my-worker\",\n  \"main\": \"src/index.ts\",\n  \"compatibility_date\": \"2026-09-01\",\n  \"vars\": { \"API_TOKEN\": \"replace-me\" }\n}"}'
request body
{
  "config": "{\n  \"name\": \"my-worker\",\n  \"main\": \"src/index.ts\",\n  \"compatibility_date\": \"2026-09-01\",\n  \"vars\": { \"API_TOKEN\": \"replace-me\" }\n}"
}

Request body

FieldTypeRequiredDescription
configstringYesThe wrangler.jsonc, wrangler.json or wrangler.toml text, up to 60,000 characters. (min 2 chars; max 60000 chars)
formatstringNoConfig format; auto treats text starting with { as JSONC, otherwise TOML. (one of: auto, jsonc, toml; default "auto")

What it returns

{ ok, format, findings[{ severity: error|warning|info, code, path, message }] and counts { error, warning, info } }. Values are never echoed, only paths. A successful response wraps that payload in the usual Highland envelope: api, priceCents, payment (for example free_tier or credits), balanceCents, freeUsedToday, freeLimit, freeRemaining, and result.

Get a free API key

No email, no card. The key is shown once.

bash
curl -s -X POST https://api.highlnd-intel.group/v1/keys
export HIGHLAND_KEY="hk_live_paste_yours_here"

Full walkthrough: Quickstart. Key management: API keys. Buy more credits: api.highlnd-intel.group/buy.

MCP and x402

The same tool is available over MCP (Streamable HTTP) at https://api.highlnd-intel.group/mcp as wrangler-lint. Connect it in Claude, ChatGPT, Grok, or Cursor and other editors.

OpenAPI: /openapi.json. Catalog: /v1/catalog. This tool in the API reference.

  • Web search API — Neural or keyword web search with highlights, for agents. Up to 10 results, public URLs only (8¢)
  • Web page contents API — Clean text of up to 5 public pages, capped per page, for agents to read (6¢)
  • Find similar pages API — Pages similar in meaning to a given public URL, with highlights. Up to 10 results (8¢)
  • Web scrape to Markdown API — Main content of one public page as Markdown (up to 50,000 characters), with title and status (7¢)
  • Site map API — Discovers the URLs of a public site (up to 200), optionally ranked by a search term (6¢)

See every tool on the tool pages index or the API reference.