Pull a site's current files
pull_siteDownload the current files of a site you own (or created via a platform connection) so you can edit and republish to the same slug with publish_site. Static sites return editable source; framework/SSR sites return the built bundle (.shiply/bundle/*), not original source.
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": {
"slug": "<slug>"
},
"name": "pull_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | site slug to pull files for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |