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.
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": {
"theme_id": "<theme_id>",
"filenames": "<filenames>"
},
"name": "get_theme_files"
}
}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']). |