Validate a theme
validate_themeOn one site of the account, named in site. The whole theme checked, held changes included — a strict Liquid parse, every name against the drops, filters and tags the engine knows, the manifest, the required files — with the errors to fix and the warnings to weigh (a text setting that should be html, a declaration the engine drops, a post or page template with no {% pixel_comments %}, so readers cannot comment). An error holds every change back from the site, so a write's answer lists them too; fix every error, and read the warnings.
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": {
"site": "<site>",
"theme": "<theme>"
},
"name": "validate_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it | |
| theme | Yes |