shopify_get_theme_files
Fetch up to 50 Shopify theme files by exact filename to read current code before editing, ensuring updates preserve the theme structure.
Instructions
Fetch the bodies of up to 50 theme files by exact filename. Read files before editing them so upserts preserve the base theme's structure.
Args:
theme_id (required): Theme ID (numeric or GID).
filenames (required): Exact filenames to fetch (1-50 per call).
project_id: Authenticated Project UUID.
project_ref: Exact project correlation reference.
connector_account_ref: Project-bound connector account alias.
idempotency_key: Stable business-action identity.
effect: Required and must be read; Spring verifies it.
approval_ref: Approved platform task UUID when resuming a write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | ||
| theme_id | No | ||
| filenames | No | ||
| project_id | No | ||
| project_ref | No | ||
| approval_ref | No | ||
| idempotency_key | No | ||
| connector_account_ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |