Volver al catálogo

Google Stitch

google_stitch

Google Stitch is an AI interface-design service exposed through an MCP Streamable HTTP endpoint using JSON-RPC 2.0, with named tools for projects, screens, artifacts, and design systems.

Acciones
16
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (16)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Apply Design SystemGOOGLE_STITCH_APPLY_DESIGN_SYSTEMAcción

Apply one design system to 1-20 unique typed screen instances from Get Project. Returns every restyled screen plus any clarification, progress, design-system, or session output. This mutating generation request is sent once and never retried; reconcile an indeterminate failure with project reads.

Parámetros de entrada

  • asset_idstringObligatorio

    Bare design-system asset ID from List Design Systems, without assets/.

  • project_idstringObligatorio

    Bare project ID containing the target screen instances.

  • screen_instancesobject[]Obligatorio

    One to 20 unique typed screen instances from Get Project. Supply each instance's id and source_screen together; instance IDs are not screen IDs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Design SystemGOOGLE_STITCH_CREATE_DESIGN_SYSTEMAcción

Create a typed Stitch design system from explicit current theme fields. Providing project_id creates it for that project; intentionally omitting project_id creates a global asset. This non-idempotent operation is attempted once and is never retried automatically.

Parámetros de entrada

  • project_idstring

    Optional bare project ID. Omit it intentionally to create a global design-system asset rather than a project-bound asset.

  • design_systemobjectObligatorio

    Display name and typed theme for the new design system.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Design System From MarkdownGOOGLE_STITCH_CREATE_DESIGN_SYSTEM_FROM_DESIGN_MDAcción

Create a project design system from the exact screen instance returned by Upload Design Markdown. The non-idempotent request is sent once and is never retried by this action.

Parámetros de entrada

  • project_idstringObligatorio

    Bare project ID used for the preceding DESIGN.md upload, without the projects/ prefix.

  • device_typestringenum

    Optional screen device type using Google Stitch's exact enum.

    DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTIC
  • screen_instanceobjectObligatorio

    The exact id and source_screen pair returned by Upload Design Markdown.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProjectGOOGLE_STITCH_CREATE_PROJECTAcción

Create a Stitch project container for UI designs and return its project resource name. This non-idempotent operation is sent once and is not retried by the action.

Parámetros de entrada

  • titlestring

    Optional project title; omit it to let Stitch choose the title.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ProjectGOOGLE_STITCH_DELETE_PROJECTAcción

Permanently delete one Google Stitch project. This destructive operation cannot be undone, requires explicit confirmation, and is attempted once without automatic retries.

Parámetros de entrada

  • project_namestringObligatorio

    Full resource name of the project to permanently delete, in the form projects/{project}.

  • confirm_permanent_deletionbooleanObligatorio

    Must be true to confirm permanent deletion of the project. This action cannot be undone.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Screen FileGOOGLE_STITCH_DOWNLOAD_FILEAcción

Retrieve bounded HTML or screenshot content using a provider-owned Stitch file resource name. Arbitrary URLs are never accepted or fetched.

Parámetros de entrada

  • file_namestringObligatorio

    Provider-owned file resource name from a screen's html_code.name or screenshot.name, in the form projects/{project}/files/{file}.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit ScreensGOOGLE_STITCH_EDIT_SCREENSAcción

Apply one text-directed edit to up to 20 existing Stitch screens and return every changed screen or clarification question. This operation may continue after a timeout, so the action sends exactly one request and never retries.

Parámetros de entrada

  • promptstringObligatorio

    Describe the edit to apply to every selected screen. If Stitch asks a clarifying question, answer it in a later call to this same tool.

  • model_idstringenum

    Optional Stitch generation model, using the provider's exact enum.

    MODEL_ID_UNSPECIFIEDGEMINI_3_8_FLASHGEMINI_3_5_FLASH_LITE
  • project_idstringObligatorio

    Bare project ID containing the screens, without the projects/ prefix.

  • screen_idsstring[]Obligatorio

    One to 20 unique bare screen IDs without screens/ or full project paths.

  • device_typestringenum

    Optional target device type, using the provider's exact enum.

    DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTIC

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate ScreenGOOGLE_STITCH_GENERATE_SCREENAcción

Generate screens from a bounded text prompt in an existing Stitch project. Returns every generated screen or recoverable clarification output. This paid or mutating operation is attempted exactly once; a timeout or connection loss is indeterminate and is never retried automatically.

Parámetros de entrada

  • promptstringObligatorio

    Describe the UI screen or screens to generate. If Stitch asks a clarification, answer it in a later call to this same tool.

  • model_idstringenum

    Optional Stitch generation model, using the provider's exact enum.

    MODEL_ID_UNSPECIFIEDGEMINI_3_8_FLASHGEMINI_3_5_FLASH_LITE
  • project_idstringObligatorio

    Bare project ID without the projects/ prefix.

  • device_typestringenum

    Optional target device type, using the provider's exact enum.

    DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTIC
  • design_system_namestring

    Optional full design-system resource name in the form assets/{asset}. Omit it for a project's first screen.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Screen VariantsGOOGLE_STITCH_GENERATE_VARIANTSAcción

Generate 1-5 variants for up to 20 unique source screens with exact creative-range, aspect, device, and model enums. Returns every generated screen or recoverable clarification output. This generation request is sent once and never retried.

Parámetros de entrada

  • promptstringObligatorio

    Describe what the variants should explore. Call this tool again with an answering prompt if Stitch requests clarification.

  • model_idstringenum

    Optional Stitch generation model using the provider's exact enum.

    MODEL_ID_UNSPECIFIEDGEMINI_3_8_FLASHGEMINI_3_5_FLASH_LITE
  • project_idstringObligatorio

    Bare project ID containing the source screens.

  • screen_idsstring[]Obligatorio

    One to 20 unique bare source screen IDs, without a screens/ or project prefix.

  • device_typestringenum

    Optional target device type using Stitch's exact enum.

    DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTIC
  • variant_optionsobjectObligatorio

    Variant count, creative range, and exact aspects to vary.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ProjectGOOGLE_STITCH_GET_PROJECTAcción

Get one Stitch project by full resource name, including screen instances needed for design-system application.

Parámetros de entrada

  • project_namestringObligatorio

    Full project resource name in the form projects/{project}; use a name returned by Create Project or List Projects.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ScreenGOOGLE_STITCH_GET_SCREENAcción

Get one Stitch screen by full resource name and return bounded screen metadata plus provider-owned HTML and screenshot file references.

Parámetros de entrada

  • screen_namestringObligatorio

    Full screen resource name in the form projects/{project}/screens/{screen}.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Design SystemsGOOGLE_STITCH_LIST_DESIGN_SYSTEMSAcción

List complete Google Stitch design systems for one project. The live provider requires project_id and exposes no pagination.

Parámetros de entrada

  • project_idstringObligatorio

    Bare project ID without the projects/ prefix. The live provider rejects omitted or empty project IDs even though discovery marks this field optional.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsGOOGLE_STITCH_LIST_PROJECTSAcción

List complete Google Stitch projects owned by the connected account or explicitly shared with it. Owned projects are returned by default.

Parámetros de entrada

  • viewstringenum

    List projects owned by the connected account (the default), or projects explicitly shared with it. Shared access does not imply ownership.

    ownedshared

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ScreensGOOGLE_STITCH_LIST_SCREENSAcción

List all screens currently returned for one Stitch project, including safe HTML and screenshot file resource references.

Parámetros de entrada

  • project_idstringObligatorio

    Bare project ID without the projects/ prefix.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Design SystemGOOGLE_STITCH_UPDATE_DESIGN_SYSTEMAcción

Replace a Stitch design system's display name and typed nondeprecated theme for one project. Sends only the fixed update_design_system operation, validates the returned asset or project-session identity and bounded fields, and never retries an indeterminate update.

Parámetros de entrada

  • project_idstringObligatorio

    Bare project ID without the projects/ prefix.

  • design_systemobjectObligatorio

    Complete display name and typed nondeprecated theme to replace the current values.

  • design_system_namestringObligatorio

    Full design-system resource name in the form assets/{asset}.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Design MarkdownGOOGLE_STITCH_UPLOAD_DESIGN_MDAcción

Upload bounded UTF-8 DESIGN.md content to a Stitch project and return the screen instance required by Create Design System From Markdown. The action uploads content only, never reads local files or executes the content, and does not retry after an indeterminate failure.

Parámetros de entrada

  • project_idstringObligatorio

    Bare project ID that will receive the DESIGN.md content, without projects/.

  • design_md_base64stringObligatorio

    Canonical padded base64 containing UTF-8 DESIGN.md content, at most 1 MiB decoded. The content is uploaded as data and is never executed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not