Send Store Template to Display
send_store_template_to_displayInstalls a published store template onto a display: materializes the HTML, auto-creates required data slots (reusing prior installs) and publishes within seconds. Call get_store_template_install_options first for valid targets and slots; customize per-slot JSON inline via data_slot_overrides (raw JSON string or inline object per key, max 64 KiB each). Requires content scope and control access to the display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Template slug to install, e.g. 'bistro-warm-door'. Must be a currently published template. | |
| display_id | Yes | Display profile ID (8-char alphanumeric) from list_displays or get_store_template_install_options. | |
| access_token | No | Optional bearer token; prefer session_request_id. | |
| idempotency_key | No | Optional opaque key (max 128 chars) to make this install retry-safe. If a previous successful install for the same (user, display, idempotency_key) tuple exists within 24 hours, the cached result is returned without re-publishing. Use this when an MCP client may retry the call after a network timeout (e.g. ChatGPT and other LLM hosts retry tool calls automatically) so the user doesn't see the display flicker through two near-identical installs. Recommended format: a UUID generated client-side per user request. | |
| session_request_id | No | Session handle from create_auth_session; pass it on every authenticated call. | |
| data_slot_overrides | No | Optional { key: value } map keyed by data-slot key (see requiredDataSlots). Each value is JSON payload to install into that slot — either a string of raw JSON or an inline object/array. Unknown keys are silently dropped; malformed JSON fails with invalid_slot_override. Per-slot payload capped at 64 KiB, max 64 overrides per call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | ||
| displayId | No | ||
| versionId | No | ||
| templateSlug | No | ||
| overrideCount | No | ||
| installedSlots | No | ||
| contentVersionId | No |