post_liquid_section
HTML → Shopify section converter. POST static HTML; get back a drop-in theme section: headings, paragraphs, images, links, and buttons are lifted into {{ section.settings.* }} references and a matching {% schema %} is generated with your original content as the defaults — immediately editable in the Shopify theme editor. Deterministic transform, no AI; output is self-linted before it's returned. ($0.01 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": {
"html": "<html>"
},
"name": "post_liquid_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Static HTML to convert (fragment or full page), max 256 KB | |
| name | No | Section name for the schema (default: first heading) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lint | No | self-lint of the generated Liquid | |
| name | No | ||
| notes | No | ||
| liquid | No | the finished section file — markup + generated {% schema %} | |
| replacements | No | ||
| settings_count | No |