Google Stitch
google_stitchGoogle 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 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ónApply 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.
GOOGLE_STITCH_APPLY_DESIGN_SYSTEMAcciónApply 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_idstringObligatorioBare design-system asset ID from List Design Systems, without assets/.
project_idstringObligatorioBare project ID containing the target screen instances.
screen_instancesobject[]ObligatorioOne 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Design SystemGOOGLE_STITCH_CREATE_DESIGN_SYSTEMAcciónCreate 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.
GOOGLE_STITCH_CREATE_DESIGN_SYSTEMAcciónCreate 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_idstringOptional bare project ID. Omit it intentionally to create a global design-system asset rather than a project-bound asset.
design_systemobjectObligatorioDisplay name and typed theme for the new design system.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Design System From MarkdownGOOGLE_STITCH_CREATE_DESIGN_SYSTEM_FROM_DESIGN_MDAcciónCreate 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.
GOOGLE_STITCH_CREATE_DESIGN_SYSTEM_FROM_DESIGN_MDAcciónCreate 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_idstringObligatorioBare project ID used for the preceding DESIGN.md upload, without the projects/ prefix.
device_typestringenumOptional screen device type using Google Stitch's exact enum.
DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTICscreen_instanceobjectObligatorioThe exact id and source_screen pair returned by Upload Design Markdown.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ProjectGOOGLE_STITCH_CREATE_PROJECTAcciónCreate 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.
GOOGLE_STITCH_CREATE_PROJECTAcciónCreate 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
titlestringOptional project title; omit it to let Stitch choose the title.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ProjectGOOGLE_STITCH_DELETE_PROJECTAcciónPermanently delete one Google Stitch project. This destructive operation cannot be undone, requires explicit confirmation, and is attempted once without automatic retries.
GOOGLE_STITCH_DELETE_PROJECTAcciónPermanently 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_namestringObligatorioFull resource name of the project to permanently delete, in the form projects/{project}.
confirm_permanent_deletionbooleanObligatorioMust be true to confirm permanent deletion of the project. This action cannot be undone.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Screen FileGOOGLE_STITCH_DOWNLOAD_FILEAcciónRetrieve bounded HTML or screenshot content using a provider-owned Stitch file resource name. Arbitrary URLs are never accepted or fetched.
GOOGLE_STITCH_DOWNLOAD_FILEAcciónRetrieve 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_namestringObligatorioProvider-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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit ScreensGOOGLE_STITCH_EDIT_SCREENSAcciónApply 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.
GOOGLE_STITCH_EDIT_SCREENSAcciónApply 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
promptstringObligatorioDescribe 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_idstringenumOptional Stitch generation model, using the provider's exact enum.
MODEL_ID_UNSPECIFIEDGEMINI_3_8_FLASHGEMINI_3_5_FLASH_LITEproject_idstringObligatorioBare project ID containing the screens, without the projects/ prefix.
screen_idsstring[]ObligatorioOne to 20 unique bare screen IDs without screens/ or full project paths.
device_typestringenumOptional target device type, using the provider's exact enum.
DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTIC
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate ScreenGOOGLE_STITCH_GENERATE_SCREENAcciónGenerate 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.
GOOGLE_STITCH_GENERATE_SCREENAcciónGenerate 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
promptstringObligatorioDescribe the UI screen or screens to generate. If Stitch asks a clarification, answer it in a later call to this same tool.
model_idstringenumOptional Stitch generation model, using the provider's exact enum.
MODEL_ID_UNSPECIFIEDGEMINI_3_8_FLASHGEMINI_3_5_FLASH_LITEproject_idstringObligatorioBare project ID without the projects/ prefix.
device_typestringenumOptional target device type, using the provider's exact enum.
DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTICdesign_system_namestringOptional full design-system resource name in the form assets/{asset}. Omit it for a project's first screen.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Screen VariantsGOOGLE_STITCH_GENERATE_VARIANTSAcciónGenerate 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.
GOOGLE_STITCH_GENERATE_VARIANTSAcciónGenerate 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
promptstringObligatorioDescribe what the variants should explore. Call this tool again with an answering prompt if Stitch requests clarification.
model_idstringenumOptional Stitch generation model using the provider's exact enum.
MODEL_ID_UNSPECIFIEDGEMINI_3_8_FLASHGEMINI_3_5_FLASH_LITEproject_idstringObligatorioBare project ID containing the source screens.
screen_idsstring[]ObligatorioOne to 20 unique bare source screen IDs, without a screens/ or project prefix.
device_typestringenumOptional target device type using Stitch's exact enum.
DEVICE_TYPE_UNSPECIFIEDMOBILEDESKTOPTABLETAGNOSTICvariant_optionsobjectObligatorioVariant count, creative range, and exact aspects to vary.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProjectGOOGLE_STITCH_GET_PROJECTAcciónGet one Stitch project by full resource name, including screen instances needed for design-system application.
GOOGLE_STITCH_GET_PROJECTAcciónGet one Stitch project by full resource name, including screen instances needed for design-system application.
Parámetros de entrada
project_namestringObligatorioFull project resource name in the form projects/{project}; use a name returned by Create Project or List Projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ScreenGOOGLE_STITCH_GET_SCREENAcciónGet one Stitch screen by full resource name and return bounded screen metadata plus provider-owned HTML and screenshot file references.
GOOGLE_STITCH_GET_SCREENAcciónGet 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_namestringObligatorioFull screen resource name in the form projects/{project}/screens/{screen}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Design SystemsGOOGLE_STITCH_LIST_DESIGN_SYSTEMSAcciónList complete Google Stitch design systems for one project. The live provider requires project_id and exposes no pagination.
GOOGLE_STITCH_LIST_DESIGN_SYSTEMSAcciónList complete Google Stitch design systems for one project. The live provider requires project_id and exposes no pagination.
Parámetros de entrada
project_idstringObligatorioBare 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsGOOGLE_STITCH_LIST_PROJECTSAcciónList complete Google Stitch projects owned by the connected account or explicitly shared with it. Owned projects are returned by default.
GOOGLE_STITCH_LIST_PROJECTSAcciónList complete Google Stitch projects owned by the connected account or explicitly shared with it. Owned projects are returned by default.
Parámetros de entrada
viewstringenumList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ScreensGOOGLE_STITCH_LIST_SCREENSAcciónList all screens currently returned for one Stitch project, including safe HTML and screenshot file resource references.
GOOGLE_STITCH_LIST_SCREENSAcciónList all screens currently returned for one Stitch project, including safe HTML and screenshot file resource references.
Parámetros de entrada
project_idstringObligatorioBare project ID without the projects/ prefix.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Design SystemGOOGLE_STITCH_UPDATE_DESIGN_SYSTEMAcciónReplace 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.
GOOGLE_STITCH_UPDATE_DESIGN_SYSTEMAcciónReplace 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_idstringObligatorioBare project ID without the projects/ prefix.
design_systemobjectObligatorioComplete display name and typed nondeprecated theme to replace the current values.
design_system_namestringObligatorioFull design-system resource name in the form assets/{asset}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload Design MarkdownGOOGLE_STITCH_UPLOAD_DESIGN_MDAcciónUpload 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.
GOOGLE_STITCH_UPLOAD_DESIGN_MDAcciónUpload 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_idstringObligatorioBare project ID that will receive the DESIGN.md content, without projects/.
design_md_base64stringObligatorioCanonical 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not