Access and gates

get_gate_design

Return the site's published gate design cell, draft gate design cell (null when no draft is in flight), whether unpublished design changes exist, a compact theme summary, and a short-lived gate preview URL when a preview signing secret is configured and the gate mode is not public. The effective preview design is the draft when a draft exists and the published design otherwise. Uses Sentway's canonical GateDesignV1 contract and never returns passwords, access policy, lead fields, gate revision values, or storage paths. Read-only.

Behaviour

Effect
Read only. Calling it never changes anything in the account.
Repeat calls
Idempotent. Repeating the same call produces the same result.
Plan
Available on every plan, including free.

Parameters

NameTypeRequiredDescription
site_iduuidYesThe Sentway site's uuid. Get one from list_sites.

Returns

NameTypeDescription
published_designobject
draft_designobject or null
has_unpublished_changesboolean
preview_urlstring
themeobject

Using it

get_gate_design is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 38 Sentway tools. See connecting over MCP.