Pull theme
theme_pullDownload Shopify theme files to your local directory and record a git snapshot. Run before editing so your local files are fresh.
Instructions
Download a theme's files from Shopify into the local theme directory and snapshot the result in git. Pass theme_id (from list_themes); omit to pull the LIVE theme. Run this before starting an editing session so local files are fresh.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "theme_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | Optional glob to pull only matching files, e.g. "sections/*.liquid" | |
| theme_id | No | Theme ID to pull. Omit to pull the live theme. |