analyze_liquid_file
Pinpoint performance anti-patterns in a specific Shopify Liquid file to diagnose and resolve slow themes.
Instructions
Statically analyze a specific Liquid file for performance anti-patterns. Requires legacy cookie authentication (use 'login_legacy' tool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| themeId | No | Theme ID to analyze. Defaults to the live (main) theme. | |
| fileName | No | Specific file to analyze (e.g., 'layout/theme.liquid'). If omitted, analyzes layout/theme.liquid. | |
| storeUrl | Yes | The Shopify store URL |