get_liquid_object
Retrieve complete documentation for Shopify Liquid objects like 'product', 'cart', or 'shop' to understand their properties and usage in theme development.
Instructions
Get documentation for a specific Shopify Liquid object.
Args: object_name: Name of the object (e.g., 'product', 'cart', 'shop')
Returns: Complete object documentation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes |
Implementation Reference
- shopify_liquid_mcp/server.py:95-110 (handler)The handler function for the 'get_liquid_object' tool. It is registered via the @mcp.tool() decorator, which uses the function name and signature/docstring for schema. Retrieves object documentation from the ingest module.@mcp.tool() def get_liquid_object(object_name: str) -> str: """Get documentation for a specific Shopify Liquid object. Args: object_name: Name of the object (e.g., 'product', 'cart', 'shop') Returns: Complete object documentation """ doc = get_document("objects", object_name) if not doc: return f"Object '{object_name}' not found. Use list_liquid_objects() to see available objects." return doc["content"]