post_lint_liquid
Liquid / Shopify theme lint: POST {code}, get the bugs with line numbers. Deterministic — never rendered, no AI. Catches unbalanced/misnested blocks, unknown tags/filters with did-you-mean, the JS-isms every dev writes in Liquid (&&, !, ternaries, arithmetic in output, parens in conditions), deprecated img_url/include, and FULL {% schema %} validation: setting types, duplicate ids, range/select rules, blocks, presets. POST bare schema JSON to test just a schema. Max 128 KB. ($0.002 per call, paid via x402)
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": {
"code": "<code>"
},
"name": "post_lint_liquid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Liquid template source to lint, max 128 KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | No | ||
| issues | No | ||
| syntax | No | ||
| verdict | No | ||
| language | No |