Documentation

get_product_page_structure

Products joined to their theme template, showing which sections — reviews, gallery, description — appear on each product page.

When to use it

To compare high-performing product pages against low-performing ones by layout, rather than by guesswork about the copy.

Ask for it like this

You do not name the tool. These are questions that make an assistant reach for it:

Do my best-selling products have a different page layout?

Parameters

productId
string
Restrict to one product by GID, for example gid://shopify/Product/123.
numericId
string
Restrict to one product by the numeric id from the product URL.
limit
numberdefault: 20
Maximum products to return.

Shared parameters it accepts

None. This tool is not date-scoped — it reports current state rather than a window.

Every tool also accepts merchantId, which resolves from your connection. You never pass it.

What comes back

JSON. These are the top-level keys; date-scoped tools additionally carry a _meta block with the server date and the data coverage envelope.

products
Per product: product_id, template_name and template_json showing the section list.

Pairs with