Domain Picker

One filled pill ("use my saved default") beside a free-text field, for a config question that almost always wants the same answer but sometimes needs a one-off override. The pill and the field write the SAME target ValueStore — whichever the reader touched last wins, so there is no separate "which mode" flag anywhere to fall out of sync.

Surfaces
google-apps-script-webmcp-apps
Degraded on
SurfaceNote
emailRenders the free-text field only, no pill, no click affordance.
Fields
FieldType
targetstring (required). A ValueStore primitive's id.required
default_optionobject {label}. The pill's label, e.g. "From my profile".optional
default_domainsstring. What the pill resets target to.optional
free_entryobject {placeholder}. Placeholder for the text field.optional
Example payload
{
  "type": "domain_picker",
  "target": "end-node"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:domain_picker",
  "displayName": "Domain Picker",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/domain_picker",
  "capabilities": [
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "One filled pill (\"use my saved default\") beside a free-text field, for a config question that almost always wants the same answer but sometimes needs a one-off override. The pill and the field write the SAME target ValueStore \u2014 whichever the reader touched last wins, so there is no separate \"which mode\" flag anywhere to fall out of sync.",
  "representativeQueries": [
    "show a default-pill plus free-text override for a config question",
    "one filled pill (\"use my saved default\") beside a free-text field, for a config question that almost",
    "render a domain picker"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →