get_theme_files
Retrieve the full content of specific Shopify theme files by providing their filenames and theme ID. Requires read_themes access.
Instructions
Get one or more specific theme files by their filenames, including their full content. Requires read_themes access scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme_id | Yes | The GID of the theme (e.g. 'gid://shopify/OnlineStoreTheme/123'). | |
| filenames | Yes | Filenames to retrieve (e.g. ['templates/index.json', 'assets/theme.css', 'sections/header.liquid']). |