get_theme_files
Fetch files from a Shopify theme using its ID. Supports pagination and filtering by specific filenames.
Instructions
Fetch files from a theme
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": {
"themeId": "<themeId>"
},
"name": "get_theme_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of files to fetch (1-250, default: 50) | |
| themeId | Yes | Theme ID (e.g., 'gid://shopify/OnlineStoreTheme/123456789') | |
| filenames | No | Specific files to fetch |