getTemplatePreview
Get a temporary preview URL to verify template appearance and check updates before publishing. URL expires in 1 hour.
Instructions
指定したテンプレートをブラウザで確認するための一時プレビュー URL を発行して返します。template_id で対象テンプレートを指定すると、そのテンプレートで現在のショップを表示する URL が返されます。URL の有効期限は発行時刻から 1 時間で、期限切れ後は再度 getTemplatePreview で発行し直してください。編集前の見た目確認や、updateTemplatePage 反映後の表示チェックに使用。テンプレートのページソース(HTML/CSS)取得は getTemplatePage、編集反映は updateTemplatePage、テンプレート一覧は getTemplates を使用。
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": {
"template_id": "<template_id>"
},
"name": "getTemplatePreview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | テンプレートID |