com.googleapis.stitch/mcp is an MCP server published by com.googleapis.stitch, hosted at stitch.googleapis.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 18 tools, including create_project, get_project, update_project, delete_project, list_projects.
Interact with the Stitch API using natural language commands.
22 connections through 4 shared values. Tap any node.
Creates a new Stitch project. A project is a container for UI designs and frontend code.
| Parameter | Type | Description |
|---|---|---|
| title | string | Optional. The title of the project. |
{
"name": "create_project",
"description": "Creates a new Stitch project. A project is a container for UI designs and frontend code.\n",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Optional. The title of the project."
}
},
"description": "Request message for CreateProject."
},
"outputSchema": {
"truncated": true,
"chars": 30178
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Retrieves the details of a specific Stitch project using its project name.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. Identifier. The resource name of the project to retrieve. Format: `projects/{project}` Example: `projects/4044680601076201931` |
{
"name": "get_project",
"description": "Retrieves the details of a specific Stitch project using its project name.\n",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Required. Identifier. The resource name of the project to retrieve. Format: `projects/{project}` Example: `projects/4044680601076201931`",
"x-google-identifier": true
}
},
"description": "Request message for GetProject."
},
"outputSchema": {
"truncated": true,
"chars": 30178
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Updates a Stitch project's metadata (such as title, background_theme, or visibility) and/or canvas screen instances (positions, dimensions, labels, or hidden state). Supports both V1 (PROJECT_DESIGN) and V2 (DESIGN_V2) projects.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. Identifier. The resource name of the project to update. Format: `projects/{project}` Example: `projects/4044680601076201931` |
| title | string | Optional. The title of the project. |
| updateMask | array | Optional. The list of fields to update (e.g., "title", "background_theme", "visibility", "screen_instances"). |
| visibility | string | Optional. The visibility setting of the project. |
| backgroundTheme | string | Optional. The background theme of the project. |
| screenInstances | array | Optional. The screen instances on this project. |
{
"name": "update_project",
"description": "Updates a Stitch project's metadata (such as title, background_theme, or visibility) and/or canvas screen instances (positions, dimensions, labels, or hidden state). Supports both V1 (PROJECT_DESIGN) and V2 (DESIGN_V2) projects.\n",
"inputSchema": {
"type": "object",
"$defs": {
"ScreenInstance": {
"type": "object",
"properties": {
"x": {
"type": "integer",
"format": "int32",
"description": "Optional. The x position of the screen."
},
"y": {
"type": "integer",
"format": "int32",
"description": "Optional. The y position of the screen."
},
"id": {
"type": "string",
"description": "Optional. The screen instance id."
},
"type": {
"enum": [
"SCREEN_INSTANCE_TYPE_UNSPECIFIED",
"SCREEN_INSTANCE",
"DESIGN_SYSTEM_INSTANCE",
"GROUP_INSTANCE",
"TEXT_INSTANCE"
],
"type": "string",
"description": "Optional. The type of screen instance.",
"x-google-enum-descriptions": [
"The unspecified value.",
"A screen instance.",
"A design system instance.",
"A group instance.",
"A text instance."
]
},
"label": {
"type": "string",
"description": "Optional. The screen label."
},
"width": {
"type": "integer",
"format": "int32",
"description": "Optional. The screen width."
},
"height": {
"type": "integer",
"format": "int32",
"description": "Optional. The screen height."
},
"hidden": {
"type": "boolean",
"description": "Optional. User driven action hiding screen from the canvas."
},
"groupId": {
"type": "string",
"description": "Optional. Group identifier for Genie Agent output grouping. Screens with the same groupId are rendered and interact as a group."
},
"groupName": {
"type": "string",
"description": "Optional. Human-readable name for the group (e.g., \"Warm Minimalism\", \"Ethereal Glow\")."
},
"isResized": {
"type": "boolean",
"description": "Optional. Whether this screen has been resized by the user."
},
"isFavourite": {
"type": "boolean",
"description": "Optional. Whether this screen is marked as a favourite by the user."
},
"needsLayout": {
"type": "boolean",
"description": "Optional. Whether this screen instance needs frontend layout positioning. Set by the PostProcessor when auto-linking screens that the agent generated but the frontend has not yet positioned on the canvas."
},
"sourceAsset": {
"type": "string",
"description": "Optional. The resource name of the source asset. Format: assets/{asset}. Only one of the following fields should be set: this field, sourceScreen, textContent."
},
"textContent": {
"type": "string",
"description": "Optional. Text content for TEXT_INSTANCE nodes. Only one of the following fields should be set: this field, sourceScreen, sourceAsset."
},
"sourceScreen": {
"type": "string",
"description": "Optional. The resource name of the source screen. Format: projects/{project}/screens/{screen}. Only one of the following fields should be set: this field, sourceAsset, textContent."
},
"variantScreenInstance": {
"$ref": "#/$defs/ScreenInstance",
"description": "Optional. The variant Screen Instance."
}
},
"description": "An instance of a screen on the project. Next ID: 18"
}
},
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Required. Identifier. The resource name of the project to update. Format: `projects/{project}` Example: `projects/4044680601076201931`",
"x-google-identifier": true
},
"title": {
"type": "string",
"description": "Optional. The title of the project."
},
"updateMask": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional. The list of fields to update (e.g., \"title\", \"background_theme\", \"visibility\", \"screen_instances\")."
},
"visibility": {
"enum": [
"VISIBILITY_UNSPECIFIED",
"PUBLIC",
"PRIVATE"
],
"type": "string",
"description": "Optional. The visibility setting of the project.",
"x-google-enum-descriptions": [
"Unspecified visibility. By default, the project is private.",
"The project is visible to all users, and may be featured in the feed.",
"The project is visible to only the creator."
]
},
"backgroundTheme": {
"type": "string",
"description": "Optional. The background theme of the project."
},
"screenInstances": {
"type": "array",
"items": {
"$ref": "#/$defs/ScreenInstance"
},
"description": "Optional. The screen instances on this project."
}
},
"description": "Request message for UpdateProject."
},
"outputSchema": {
"truncated": true,
"chars": 30178
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Deletes a specific Stitch project using its project name. **Instructions for Tool Call:** * This action cannot be undone. Please confirm with "yes" or "no" to proceed.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. Identifier. The resource name of the project to delete. Format: `projects/{project}` Example: `projects/4044680601076201931` |
{
"name": "delete_project",
"description": "Deletes a specific Stitch project using its project name.\n\n**Instructions for Tool Call:**\n\n* This action cannot be undone. Please confirm with \"yes\" or \"no\" to proceed.\n",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Required. Identifier. The resource name of the project to delete. Format: `projects/{project}` Example: `projects/4044680601076201931`",
"x-google-identifier": true
}
},
"description": "Request message for DeleteProject."
},
"outputSchema": {
"type": "object",
"properties": {},
"description": "Response message for DeleteProject."
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Lists Stitch projects accessible to the user, most recently updated first. By default, it lists projects owned by the user. Results are paginated (default 50, max 100 per page). If `next_page_token` is non-empty, call `list_projects` again with `page_token` set to it to fetch more projects. Projects are returned in a lightweight view without screens or the design system markdown. Use `get_project` and `list_screens` for project details.
| Parameter | Type | Description |
|---|---|---|
| filter | string | Optional. A filter to apply to the list of projects, following a subset of AIP-160. This service supports filtering on the `view` field. Supported filters: * `view=owned`: Lists only projects owned by the user. This is the default behavior if no filter is specified. * `view=shared`: Lists only proje… |
| pageSize | integer | Optional. The maximum number of projects to return in one page. Defaults to 50 when unset or 0. The maximum value is 100; larger values are coerced to 100. Results are sorted by most recently updated first. |
| pageToken | string | Optional. A page token returned as `next_page_token` by a previous `list_projects` call. Pass it, with the same `filter`, to fetch the next page. Leave empty to fetch the first page. |
{
"name": "list_projects",
"description": "Lists Stitch projects accessible to the user, most recently updated first. By default, it lists projects owned by the user.\nResults are paginated (default 50, max 100 per page). If `next_page_token` is non-empty, call `list_projects` again with `page_token` set to it to fetch more projects.\nProjects are returned in a lightweight view without screens or the design system markdown. Use `get_project` and `list_screens` for project details.\n",
"inputSchema": {
"type": "object",
"properties": {
"filter": {
"type": "string",
"description": "Optional. A filter to apply to the list of projects, following a subset of AIP-160. This service supports filtering on the `view` field. Supported filters: * `view=owned`: Lists only projects owned by the user. This is the default behavior if no filter is specified. * `view=shared`: Lists only projects shared with the user. Example: `view=owned`"
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "Optional. The maximum number of projects to return in one page. Defaults to 50 when unset or 0. The maximum value is 100; larger values are coerced to 100. Results are sorted by most recently updated first."
},
"pageToken": {
"type": "string",
"description": "Optional. A page token returned as `next_page_token` by a previous `list_projects` call. Pass it, with the same `filter`, to fetch the next page. Leave empty to fetch the first page."
}
},
"description": "Request message for ListProjects."
},
"outputSchema": {
"truncated": true,
"chars": 30911
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Lists all screens within a given Stitch project.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | Required. Identifier. The project ID to list screens for, example: '4044680601076201931', without the `projects/` prefix. |
{
"name": "list_screens",
"description": "Lists all screens within a given Stitch project.\n",
"inputSchema": {
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "Required. Identifier. The project ID to list screens for, example: '4044680601076201931', without the `projects/` prefix.",
"x-google-identifier": true
}
},
"description": "Request message for ListScreens."
},
"outputSchema": {
"type": "object",
"$defs": {
"File": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifier. The resource name of the file. Format: projects/{project}/files/{file}",
"x-google-identifier": true
},
"mimeType": {
"type": "string",
"description": "Optional. The mime type of the file. E.g. \"image/png\", \"text/html\"."
},
"downloadUrl": {
"type": "string",
"description": "Optional. The URL of the file for download. For image files, this would be FIFE base URLs. Only one of the following fields should be set: this field, uploadBlobId, fileContentBase64."
},
"uploadBlobId": {
"type": "string",
"description": "Optional. The BlobId from Scotty/contrib service file upload. This points to a temporary blobstore location of the file. Only one of the following fields should be set: this field, downloadUrl, fileContentBase64."
},
"userFeedback": {
"$ref": "#/$defs/UserFeedback",
"readOnly": true,
"description": "Output only. The latest feedback submitted for the file."
},
"fileContentBase64": {
"type": "string",
"writeOnly": true,
"description": "Optional. Input only. The base64-encoded string of the file content. Only one of the following fields should be set: this field, uploadBlobId, downloadUrl."
}
},
"description": "A File resource."
},
"Screen": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifier. The name of the screen. Format: projects/{project}/screens/{screen}",
"x-google-identifier": true
},
"title": {
"type": "string",
"description": "The title of the screen."
},
"width": {
"type": "string",
"description": "The width of the screen."
},
"height": {
"type": "string",
"description": "The height of the screen."
},
"htmlCode": {
"$ref": "#/$defs/File",
"description": "The HTML code of the screen."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "The device type of the screen.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"screenType": {
"enum": [
"SCREEN_TYPE_UNSPECIFIED",
"DESIGN",
"IMAGE",
"PROTOTYPE",
"DOCUMENT",
"PROTOTYPE_V2"
],
"type": "string",
"description": "The type of the screen (e.g., DESIGN, DOCUMENT, IMAGE, PROTOTYPE).",
"x-google-enum-descriptions": [
"If the screen type is unspecified, it is assumed to be a DESIGN.",
"A design screen.",
"A pure image.",
"A design prototype.",
"A document like a PRD.",
"A design prototype v2."
]
},
"screenshot": {
"$ref": "#/$defs/File",
"description": "The screenshot of the screen."
}
},
"description": "A screen generated by the agent."
},
"UserFeedback": {
"type": "object",
"properties": {
"rating": {
"enum": [
"RATING_UNSPECIFIED",
"POSITIVE",
"NEGATIVE"
],
"type": "string",
"description": "Optional. The user rating of the interaction.",
"x-google-enum-descriptions": [
"Unspecified rating.",
"Positive rating.",
"Negative rating."
]
},
"comment": {
"type": "string",
"description": "Optional. Additional comment for the rating."
},
"designFeedbackReason": {
"enum": [
"DESIGN_FEEDBACK_REASON_UNSPECIFIED",
"DESIGN_DOESNT_MATCH_PROMPT",
"EDIT_DOESNT_MATCH_PROMPT",
"DESCRIPTION_DOESNT_MATCH",
"COMPONENT_ISSUE",
"INCORRECT_THEME",
"FIGMA_EXPORT_FAILED",
"OTHER"
],
"type": "string",
"description": "Optional. The reason for the feedback for a design, if the rating is negative.",
"x-google-enum-descriptions": [
"Unspecified reason.",
"The design does not match the prompt.",
"The edit does not match the prompt.",
"The description does not match the design.",
"There is an issue with a component in the design.",
"The theme is incorrect.",
"The Figma export failed.",
"Other reason."
]
}
},
"description": "User feedback for a given interaction."
}
},
"properties": {
"screens": {
"type": "array",
"items": {
"$ref": "#/$defs/Screen"
},
"description": "The screens for the given project."
}
},
"description": "Response message for ListScreens."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Retrieves the details of a specific screen within a project.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. Identifier. The resource name of the screen to retrieve. Format: `projects/{project}/screens/{screen}` Example: `projects/4044680601076201931/screens/98b50e2ddc9943efb387052637738f61` |
{
"name": "get_screen",
"description": "Retrieves the details of a specific screen within a project.\n",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Required. Identifier. The resource name of the screen to retrieve. Format: `projects/{project}/screens/{screen}` Example: `projects/4044680601076201931/screens/98b50e2ddc9943efb387052637738f61`",
"x-google-identifier": true
}
},
"description": "Request message for GetScreen."
},
"outputSchema": {
"type": "object",
"$defs": {
"File": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifier. The resource name of the file. Format: projects/{project}/files/{file}",
"x-google-identifier": true
},
"mimeType": {
"type": "string",
"description": "Optional. The mime type of the file. E.g. \"image/png\", \"text/html\"."
},
"downloadUrl": {
"type": "string",
"description": "Optional. The URL of the file for download. For image files, this would be FIFE base URLs. Only one of the following fields should be set: this field, uploadBlobId, fileContentBase64."
},
"uploadBlobId": {
"type": "string",
"description": "Optional. The BlobId from Scotty/contrib service file upload. This points to a temporary blobstore location of the file. Only one of the following fields should be set: this field, downloadUrl, fileContentBase64."
},
"userFeedback": {
"$ref": "#/$defs/UserFeedback",
"readOnly": true,
"description": "Output only. The latest feedback submitted for the file."
},
"fileContentBase64": {
"type": "string",
"writeOnly": true,
"description": "Optional. Input only. The base64-encoded string of the file content. Only one of the following fields should be set: this field, uploadBlobId, downloadUrl."
}
},
"description": "A File resource."
},
"UserFeedback": {
"type": "object",
"properties": {
"rating": {
"enum": [
"RATING_UNSPECIFIED",
"POSITIVE",
"NEGATIVE"
],
"type": "string",
"description": "Optional. The user rating of the interaction.",
"x-google-enum-descriptions": [
"Unspecified rating.",
"Positive rating.",
"Negative rating."
]
},
"comment": {
"type": "string",
"description": "Optional. Additional comment for the rating."
},
"designFeedbackReason": {
"enum": [
"DESIGN_FEEDBACK_REASON_UNSPECIFIED",
"DESIGN_DOESNT_MATCH_PROMPT",
"EDIT_DOESNT_MATCH_PROMPT",
"DESCRIPTION_DOESNT_MATCH",
"COMPONENT_ISSUE",
"INCORRECT_THEME",
"FIGMA_EXPORT_FAILED",
"OTHER"
],
"type": "string",
"description": "Optional. The reason for the feedback for a design, if the rating is negative.",
"x-google-enum-descriptions": [
"Unspecified reason.",
"The design does not match the prompt.",
"The edit does not match the prompt.",
"The description does not match the design.",
"There is an issue with a component in the design.",
"The theme is incorrect.",
"The Figma export failed.",
"Other reason."
]
}
},
"description": "User feedback for a given interaction."
}
},
"properties": {
"name": {
"type": "string",
"description": "Identifier. The name of the screen. Format: projects/{project}/screens/{screen}",
"x-google-identifier": true
},
"title": {
"type": "string",
"description": "The title of the screen."
},
"width": {
"type": "string",
"description": "The width of the screen."
},
"height": {
"type": "string",
"description": "The height of the screen."
},
"htmlCode": {
"$ref": "#/$defs/File",
"description": "The HTML code of the screen."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "The device type of the screen.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"screenType": {
"enum": [
"SCREEN_TYPE_UNSPECIFIED",
"DESIGN",
"IMAGE",
"PROTOTYPE",
"DOCUMENT",
"PROTOTYPE_V2"
],
"type": "string",
"description": "The type of the screen (e.g., DESIGN, DOCUMENT, IMAGE, PROTOTYPE).",
"x-google-enum-descriptions": [
"If the screen type is unspecified, it is assumed to be a DESIGN.",
"A design screen.",
"A pure image.",
"A design prototype.",
"A document like a PRD.",
"A design prototype v2."
]
},
"screenshot": {
"$ref": "#/$defs/File",
"description": "The screenshot of the screen."
}
},
"description": "A screen generated by the agent."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Updates the HTML code or screenshot of a specific screen within a Stitch project.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. Identifier. The resource name of the screen to update. Format: `projects/{project}/screens/{screen}` Example: `projects/4044680601076201931/screens/98b50e2ddc9943efb387052637738f61` |
| updateMask | array | Optional. The list of fields to update (e.g., "html_code", "screenshot"). |
| htmlCodeBase64 | string | Optional. The base64-encoded HTML code of the screen. |
| screenshotBase64 | string | Optional. The base64-encoded screenshot image (PNG) of the screen. |
{
"name": "update_screen",
"description": "Updates the HTML code or screenshot of a specific screen within a Stitch project.\n",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Required. Identifier. The resource name of the screen to update. Format: `projects/{project}/screens/{screen}` Example: `projects/4044680601076201931/screens/98b50e2ddc9943efb387052637738f61`",
"x-google-identifier": true
},
"updateMask": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional. The list of fields to update (e.g., \"html_code\", \"screenshot\")."
},
"htmlCodeBase64": {
"type": "string",
"description": "Optional. The base64-encoded HTML code of the screen."
},
"screenshotBase64": {
"type": "string",
"description": "Optional. The base64-encoded screenshot image (PNG) of the screen."
}
},
"description": "Request message for UpdateScreen."
},
"outputSchema": {
"type": "object",
"$defs": {
"File": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifier. The resource name of the file. Format: projects/{project}/files/{file}",
"x-google-identifier": true
},
"mimeType": {
"type": "string",
"description": "Optional. The mime type of the file. E.g. \"image/png\", \"text/html\"."
},
"downloadUrl": {
"type": "string",
"description": "Optional. The URL of the file for download. For image files, this would be FIFE base URLs. Only one of the following fields should be set: this field, uploadBlobId, fileContentBase64."
},
"uploadBlobId": {
"type": "string",
"description": "Optional. The BlobId from Scotty/contrib service file upload. This points to a temporary blobstore location of the file. Only one of the following fields should be set: this field, downloadUrl, fileContentBase64."
},
"userFeedback": {
"$ref": "#/$defs/UserFeedback",
"readOnly": true,
"description": "Output only. The latest feedback submitted for the file."
},
"fileContentBase64": {
"type": "string",
"writeOnly": true,
"description": "Optional. Input only. The base64-encoded string of the file content. Only one of the following fields should be set: this field, uploadBlobId, downloadUrl."
}
},
"description": "A File resource."
},
"UserFeedback": {
"type": "object",
"properties": {
"rating": {
"enum": [
"RATING_UNSPECIFIED",
"POSITIVE",
"NEGATIVE"
],
"type": "string",
"description": "Optional. The user rating of the interaction.",
"x-google-enum-descriptions": [
"Unspecified rating.",
"Positive rating.",
"Negative rating."
]
},
"comment": {
"type": "string",
"description": "Optional. Additional comment for the rating."
},
"designFeedbackReason": {
"enum": [
"DESIGN_FEEDBACK_REASON_UNSPECIFIED",
"DESIGN_DOESNT_MATCH_PROMPT",
"EDIT_DOESNT_MATCH_PROMPT",
"DESCRIPTION_DOESNT_MATCH",
"COMPONENT_ISSUE",
"INCORRECT_THEME",
"FIGMA_EXPORT_FAILED",
"OTHER"
],
"type": "string",
"description": "Optional. The reason for the feedback for a design, if the rating is negative.",
"x-google-enum-descriptions": [
"Unspecified reason.",
"The design does not match the prompt.",
"The edit does not match the prompt.",
"The description does not match the design.",
"There is an issue with a component in the design.",
"The theme is incorrect.",
"The Figma export failed.",
"Other reason."
]
}
},
"description": "User feedback for a given interaction."
}
},
"properties": {
"name": {
"type": "string",
"description": "Identifier. The name of the screen. Format: projects/{project}/screens/{screen}",
"x-google-identifier": true
},
"title": {
"type": "string",
"description": "The title of the screen."
},
"width": {
"type": "string",
"description": "The width of the screen."
},
"height": {
"type": "string",
"description": "The height of the screen."
},
"htmlCode": {
"$ref": "#/$defs/File",
"description": "The HTML code of the screen."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "The device type of the screen.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"screenType": {
"enum": [
"SCREEN_TYPE_UNSPECIFIED",
"DESIGN",
"IMAGE",
"PROTOTYPE",
"DOCUMENT",
"PROTOTYPE_V2"
],
"type": "string",
"description": "The type of the screen (e.g., DESIGN, DOCUMENT, IMAGE, PROTOTYPE).",
"x-google-enum-descriptions": [
"If the screen type is unspecified, it is assumed to be a DESIGN.",
"A design screen.",
"A pure image.",
"A design prototype.",
"A document like a PRD.",
"A design prototype v2."
]
},
"screenshot": {
"$ref": "#/$defs/File",
"description": "The screenshot of the screen."
}
},
"description": "A screen generated by the agent."
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Downloads the content of a screen file: its HTML code or its screenshot. **Instructions for Tool Call:** * Set `name` to the file's resource name from a screen's `html_code.name` or `screenshot.name` (returned by `get_screen`, `list_screens`, or the generation tools), e.g. `projects/4044680601076201931/files/ea26dc974c014bf28342b805ed0b7cfc`. * Use this tool instead of fetching `download_url` directly: those URLs require credentials and return a JSON wrapper rather than the file. **Output:** * `html` holds the raw HTML for HTML files. * `image` holds the image bytes (base64-encoded in JSON) for images, with `image_metadata` (`mime_type`, `width`, `height`).
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. The resource name of the file to download, as returned in a screen's `html_code.name` or `screenshot.name`. Format: `projects/{project}/files/{file}` Example: `projects/4044680601076201931/files/ea26dc974c014bf28342b805ed0b7cfc` |
{
"name": "download_file",
"description": "Downloads the content of a screen file: its HTML code or its screenshot.\n\n**Instructions for Tool Call:**\n* Set `name` to the file's resource name from a screen's `html_code.name` or `screenshot.name` (returned by `get_screen`, `list_screens`, or the generation tools), e.g. `projects/4044680601076201931/files/ea26dc974c014bf28342b805ed0b7cfc`.\n* Use this tool instead of fetching `download_url` directly: those URLs require credentials and return a JSON wrapper rather than the file.\n\n**Output:**\n* `html` holds the raw HTML for HTML files.\n* `image` holds the image bytes (base64-encoded in JSON) for images, with `image_metadata` (`mime_type`, `width`, `height`).\n",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Required. The resource name of the file to download, as returned in a screen's `html_code.name` or `screenshot.name`. Format: `projects/{project}/files/{file}` Example: `projects/4044680601076201931/files/ea26dc974c014bf28342b805ed0b7cfc`"
}
},
"description": "Request message for DownloadFile."
},
"outputSchema": {
"type": "object",
"$defs": {
"ImageMetadata": {
"type": "object",
"properties": {
"width": {
"type": "integer",
"format": "int32",
"description": "The width of the image."
},
"height": {
"type": "integer",
"format": "int32",
"description": "The height of the image."
},
"mimeType": {
"type": "string",
"description": "The IANA media type of the image, for example \"image/png\"."
}
},
"description": "The metadata of an image file."
}
},
"properties": {
"html": {
"type": "string",
"description": "The raw HTML code for HTML files. Only one of this field or image should be set."
},
"image": {
"type": "string",
"format": "byte",
"description": "The binary data for image files. Only one of this field or html should be set."
},
"imageMetadata": {
"$ref": "#/$defs/ImageMetadata",
"description": "The metadata of the image. Only set for image files."
}
},
"description": "Response message for DownloadFile."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Generates a new screen within a project from a text prompt. **Instructions for Tool Call:** * This action can take a few minutes to complete. Please be patient. DO NOT RETRY. * If the tool fails with a timeout, don't retry. Instead, try to get the screen with `get_screen` method every 30 seconds for up to 10 times before giving up. * If the tool call fails due to connection error, the generation process may still succeed. Please try to get the screen with `get_screen` method later. **Output:** * **`output_components`**: If `output_components` contains text, return it to the user. If `output_components` contains suggestions (e.g. "Yes, make them all"), present these suggestions to the user. If the user accepts one of the suggestions, call `generate_screen_from_text` again with `prompt` set to the accepted suggestion.
| Parameter | Type | Description |
|---|---|---|
| prompt * | string | Required. The input text to generate the screen from. |
| modelId | string | Optional. The model to use for generation. |
| projectId * | string | Required. The project ID to generate the screen for, example: '4044680601076201931', without the `projects/` prefix. |
| deviceType | string | The type of device that captured the screenshot, e.g., mobile or desktop. |
| designSystem | string | Optional. Optional design system id to use for generating the new screen. Leave empty for the first screen of a new project: Stitch automatically generates a design system that fits the prompt. Set it to reuse an existing design system of the project (from a previous `output_components` or `list_des… |
{
"name": "generate_screen_from_text",
"description": "Generates a new screen within a project from a text prompt.\n\n**Instructions for Tool Call:**\n* This action can take a few minutes to complete. Please be patient. DO NOT RETRY.\n* If the tool fails with a timeout, don't retry. Instead, try to get the screen with `get_screen` method every 30 seconds for up to 10 times before giving up.\n* If the tool call fails due to connection error, the generation process may still succeed. Please try to get the screen with `get_screen` method later.\n\n**Output:**\n* **`output_components`**: If `output_components` contains text, return it to the user. If `output_components` contains suggestions (e.g. \"Yes, make them all\"), present these suggestions to the user. If the user accepts one of the suggestions, call `generate_screen_from_text` again with `prompt` set to the accepted suggestion.\n",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "Required. The input text to generate the screen from."
},
"modelId": {
"enum": [
"MODEL_ID_UNSPECIFIED",
"GEMINI_3_8_FLASH",
"GEMINI_3_5_FLASH_LITE"
],
"type": "string",
"description": "Optional. The model to use for generation.",
"x-google-enum-descriptions": [
"Unspecified model.",
"Gemini 3.8 Flash.",
"Gemini 3.5 Flash-Lite."
]
},
"projectId": {
"type": "string",
"description": "Required. The project ID to generate the screen for, example: '4044680601076201931', without the `projects/` prefix."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "The type of device that captured the screenshot, e.g., mobile or desktop.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"designSystem": {
"type": "string",
"description": "Optional. Optional design system id to use for generating the new screen. Leave empty for the first screen of a new project: Stitch automatically generates a design system that fits the prompt. Set it to reuse an existing design system of the project (from a previous `output_components` or `list_design_systems`) for design consistency. Example: `assets/15996705518239280238`."
}
},
"description": "Request message for GenerateScreenFromText."
},
"outputSchema": {
"truncated": true,
"chars": 36858
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Edits existing screens within a project using a text prompt. **Instructions for Tool Call:** * This action can take a few minutes to complete. Please be patient. DO NOT RETRY. * If the tool call fails due to connection error, the process may still succeed.
| Parameter | Type | Description |
|---|---|---|
| prompt * | string | Required. The input text to generate the screen from. |
| modelId | string | Optional. The model to use for generation. |
| projectId * | string | Required. The project ID of screens to edit, example: '4044680601076201931', without the `projects/` prefix. |
| deviceType | string | Optional. The type of device that captured the screenshot, e.g., mobile or desktop. |
| selectedScreenIds * | array | Required. The screen IDs of screens to edit, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix. |
{
"name": "edit_screens",
"description": "Edits existing screens within a project using a text prompt.\n\n**Instructions for Tool Call:**\n* This action can take a few minutes to complete. Please be patient. DO NOT RETRY.\n* If the tool call fails due to connection error, the process may still succeed.\n",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"selectedScreenIds",
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "Required. The input text to generate the screen from."
},
"modelId": {
"enum": [
"MODEL_ID_UNSPECIFIED",
"GEMINI_3_8_FLASH",
"GEMINI_3_5_FLASH_LITE"
],
"type": "string",
"description": "Optional. The model to use for generation.",
"x-google-enum-descriptions": [
"Unspecified model.",
"Gemini 3.8 Flash.",
"Gemini 3.5 Flash-Lite."
]
},
"projectId": {
"type": "string",
"description": "Required. The project ID of screens to edit, example: '4044680601076201931', without the `projects/` prefix."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "Optional. The type of device that captured the screenshot, e.g., mobile or desktop.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"selectedScreenIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required. The screen IDs of screens to edit, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix."
}
},
"description": "Request message for EditScreens."
},
"outputSchema": {
"truncated": true,
"chars": 36161
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Generates variants of existing screens within a project using a text prompt. **Instructions for Tool Call:** * If the tool fails with a timeout, don't retry. Instead, try to get the screen with `get_screen` method every 30 seconds for up to 10 times before giving up.
| Parameter | Type | Description |
|---|---|---|
| prompt * | string | Required. The input text used to generate the variants. |
| modelId | string | Optional. The model to use for generation. |
| projectId * | string | Required. The project ID of screens to generate variants for, example: '4044680601076201931', without the `projects/` prefix. |
| deviceType | string | Optional. The type of device that captured the screenshot, e.g., mobile or desktop. |
| variantOptions * | ref | Required. The variant options for generation, including the number of variants, creative range, and aspects to focus on. |
| selectedScreenIds * | array | Required. The screen ids of screen to generate variants for, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix. |
{
"name": "generate_variants",
"description": "Generates variants of existing screens within a project using a text prompt.\n\n**Instructions for Tool Call:**\n* If the tool fails with a timeout, don't retry. Instead, try to get the screen with `get_screen` method every 30 seconds for up to 10 times before giving up.\n",
"inputSchema": {
"type": "object",
"$defs": {
"VariantOptions": {
"type": "object",
"properties": {
"aspects": {
"type": "array",
"items": {
"enum": [
"VARIANT_ASPECT_UNSPECIFIED",
"LAYOUT",
"COLOR_SCHEME",
"IMAGES",
"TEXT_FONT",
"TEXT_CONTENT"
],
"type": "string",
"x-google-enum-descriptions": [
"Unspecified aspect.",
"Layout: Arrangement of elements on the screen.",
"Color scheme: Colors used on the screen.",
"Images: Images used on the screen.",
"Text font: Fonts used for text on the screen.",
"Text content: Text content on the screen."
]
},
"description": "Optional. Specific aspects to focus on. If empty, all aspects may be varied."
},
"variantCount": {
"type": "integer",
"format": "int32",
"description": "Optional. Number of variants to generate (1-5). Default: 3"
},
"creativeRange": {
"enum": [
"CREATIVE_RANGE_UNSPECIFIED",
"REFINE",
"EXPLORE",
"REIMAGINE"
],
"type": "string",
"description": "Optional. Creative range for variations. Default: EXPLORE",
"x-google-enum-descriptions": [
"Unspecified creative range.",
"Subtle refinements, closely adhering to original.",
"Balanced exploration. Default.",
"Radical explorations, fundamentally challenging the original."
]
}
},
"description": "Configuration options for design variant generation. This message captures all parameters used to generate variants, allowing the configuration to be stored, replayed, or analyzed."
}
},
"required": [
"projectId",
"selectedScreenIds",
"prompt",
"variantOptions"
],
"properties": {
"prompt": {
"type": "string",
"description": "Required. The input text used to generate the variants."
},
"modelId": {
"enum": [
"MODEL_ID_UNSPECIFIED",
"GEMINI_3_8_FLASH",
"GEMINI_3_5_FLASH_LITE"
],
"type": "string",
"description": "Optional. The model to use for generation.",
"x-google-enum-descriptions": [
"Unspecified model.",
"Gemini 3.8 Flash.",
"Gemini 3.5 Flash-Lite."
]
},
"projectId": {
"type": "string",
"description": "Required. The project ID of screens to generate variants for, example: '4044680601076201931', without the `projects/` prefix."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "Optional. The type of device that captured the screenshot, e.g., mobile or desktop.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"variantOptions": {
"$ref": "#/$defs/VariantOptions",
"description": "Required. The variant options for generation, including the number of variants, creative range, and aspects to focus on."
},
"selectedScreenIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required. The screen ids of screen to generate variants for, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix."
}
},
"description": "Request message for GenerateVariants."
},
"outputSchema": {
"truncated": true,
"chars": 36161
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Uploads DESIGN.md to a Stitch project. Use this tool when the user wants to create a design system from a DESIGN.md file. **Instructions for Tool Call:** * Call `create_design_system_from_design_md` tool immediately after this tool to create the design system from the uploaded DESIGN.md, and display the design system in the UI.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | Required. The project ID to upload the DESIGN.md to, example: '4044680601076201931', without the `projects/` prefix. |
| designMdBase64 * | string | Required. The base64-encoded DESIGN.md content. The decoded content must be valid UTF-8; uploads with invalid UTF-8 bytes will be rejected. Run `base64 -w 0 <filename>` to get the base64-encoded string. |
{
"name": "upload_design_md",
"description": "Uploads DESIGN.md to a Stitch project. Use this tool when the user wants to create a design system from a DESIGN.md file.\n\n**Instructions for Tool Call:**\n* Call `create_design_system_from_design_md` tool immediately after this tool to create the design system from the uploaded DESIGN.md, and display the design system in the UI.\n",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"designMdBase64"
],
"properties": {
"projectId": {
"type": "string",
"description": "Required. The project ID to upload the DESIGN.md to, example: '4044680601076201931', without the `projects/` prefix."
},
"designMdBase64": {
"type": "string",
"description": "Required. The base64-encoded DESIGN.md content. The decoded content must be valid UTF-8; uploads with invalid UTF-8 bytes will be rejected. Run `base64 -w 0 <filename>` to get the base64-encoded string."
}
},
"description": "Request message for UploadDesignMd."
},
"outputSchema": {
"type": "object",
"$defs": {
"ScreenInstance": {
"type": "object",
"properties": {
"x": {
"type": "integer",
"format": "int32",
"description": "Optional. The x position of the screen."
},
"y": {
"type": "integer",
"format": "int32",
"description": "Optional. The y position of the screen."
},
"id": {
"type": "string",
"description": "Optional. The screen instance id."
},
"type": {
"enum": [
"SCREEN_INSTANCE_TYPE_UNSPECIFIED",
"SCREEN_INSTANCE",
"DESIGN_SYSTEM_INSTANCE",
"GROUP_INSTANCE",
"TEXT_INSTANCE"
],
"type": "string",
"description": "Optional. The type of screen instance.",
"x-google-enum-descriptions": [
"The unspecified value.",
"A screen instance.",
"A design system instance.",
"A group instance.",
"A text instance."
]
},
"label": {
"type": "string",
"description": "Optional. The screen label."
},
"width": {
"type": "integer",
"format": "int32",
"description": "Optional. The screen width."
},
"height": {
"type": "integer",
"format": "int32",
"description": "Optional. The screen height."
},
"hidden": {
"type": "boolean",
"description": "Optional. User driven action hiding screen from the canvas."
},
"groupId": {
"type": "string",
"description": "Optional. Group identifier for Genie Agent output grouping. Screens with the same groupId are rendered and interact as a group."
},
"groupName": {
"type": "string",
"description": "Optional. Human-readable name for the group (e.g., \"Warm Minimalism\", \"Ethereal Glow\")."
},
"isResized": {
"type": "boolean",
"description": "Optional. Whether this screen has been resized by the user."
},
"isFavourite": {
"type": "boolean",
"description": "Optional. Whether this screen is marked as a favourite by the user."
},
"needsLayout": {
"type": "boolean",
"description": "Optional. Whether this screen instance needs frontend layout positioning. Set by the PostProcessor when auto-linking screens that the agent generated but the frontend has not yet positioned on the canvas."
},
"sourceAsset": {
"type": "string",
"description": "Optional. The resource name of the source asset. Format: assets/{asset}. Only one of the following fields should be set: this field, sourceScreen, textContent."
},
"textContent": {
"type": "string",
"description": "Optional. Text content for TEXT_INSTANCE nodes. Only one of the following fields should be set: this field, sourceScreen, sourceAsset."
},
"sourceScreen": {
"type": "string",
"description": "Optional. The resource name of the source screen. Format: projects/{project}/screens/{screen}. Only one of the following fields should be set: this field, sourceAsset, textContent."
},
"variantScreenInstance": {
"$ref": "#/$defs/ScreenInstance",
"description": "Optional. The variant Screen Instance."
}
},
"description": "An instance of a screen on the project. Next ID: 18"
}
},
"properties": {
"x": {
"type": "integer",
"format": "int32",
"description": "Optional. The x position of the screen."
},
"y": {
"type": "integer",
"format": "int32",
"description": "Optional. The y position of the screen."
},
"id": {
"type": "string",
"description": "Optional. The screen instance id."
},
"type": {
"enum": [
"SCREEN_INSTANCE_TYPE_UNSPECIFIED",
"SCREEN_INSTANCE",
"DESIGN_SYSTEM_INSTANCE",
"GROUP_INSTANCE",
"TEXT_INSTANCE"
],
"type": "string",
"description": "Optional. The type of screen instance.",
"x-google-enum-descriptions": [
"The unspecified value.",
"A screen instance.",
"A design system instance.",
"A group instance.",
"A text instance."
]
},
"label": {
"type": "string",
"description": "Optional. The screen label."
},
"width": {
"type": "integer",
"format": "int32",
"description": "Optional. The screen width."
},
"height": {
"type": "integer",
"format": "int32",
"description": "Optional. The screen height."
},
"hidden": {
"type": "boolean",
"description": "Optional. User driven action hiding screen from the canvas."
},
"groupId": {
"type": "string",
"description": "Optional. Group identifier for Genie Agent output grouping. Screens with the same groupId are rendered and interact as a group."
},
"groupName": {
"type": "string",
"description": "Optional. Human-readable name for the group (e.g., \"Warm Minimalism\", \"Ethereal Glow\")."
},
"isResized": {
"type": "boolean",
"description": "Optional. Whether this screen has been resized by the user."
},
"isFavourite": {
"type": "boolean",
"description": "Optional. Whether this screen is marked as a favourite by the user."
},
"needsLayout": {
"type": "boolean",
"description": "Optional. Whether this screen instance needs frontend layout positioning. Set by the PostProcessor when auto-linking screens that the agent generated but the frontend has not yet positioned on the canvas."
},
"sourceAsset": {
"type": "string",
"description": "Optional. The resource name of the source asset. Format: assets/{asset}. Only one of the following fields should be set: this field, sourceScreen, textContent."
},
"textContent": {
"type": "string",
"description": "Optional. Text content for TEXT_INSTANCE nodes. Only one of the following fields should be set: this field, sourceScreen, sourceAsset."
},
"sourceScreen": {
"type": "string",
"description": "Optional. The resource name of the source screen. Format: projects/{project}/screens/{screen}. Only one of the following fields should be set: this field, sourceAsset, textContent."
},
"variantScreenInstance": {
"$ref": "#/$defs/ScreenInstance",
"description": "Optional. The variant Screen Instance."
}
},
"description": "An instance of a screen on the project. Next ID: 18"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Creates a new design system for a project. Use this tool when the user wants to set or update the overall visual theme, style, or branding of the application. This includes configuring: - Color Palette: Presets, custom primary colors, and saturation levels. - Typography: Font families (e.g., Inter, Roboto, etc.). - Shape: Corner roundness for UI elements. - Appearance: Light and dark mode background colors. - Design MD: Free-form design instructions in markdown. This tool establishes the foundational design tokens that apply across all screens in the project. **Instructions for Tool Call:** * Call `update_design_system` tool immediately after this tool to apply the design system to the project, and display the design system in the UI.
| Parameter | Type | Description |
|---|---|---|
| projectId | string | Optional. The project ID to create design system for, example: '4044680601076201931', without the `projects/` prefix. If empty, creates a global asset (not associated with any project). |
| designSystem * | ref | Required. The design system to create. |
{
"name": "create_design_system",
"description": "Creates a new design system for a project. Use this tool when the user wants to set or update the overall visual theme, style, or branding of the application.\nThis includes configuring:\n- Color Palette: Presets, custom primary colors, and saturation levels.\n- Typography: Font families (e.g., Inter, Roboto, etc.).\n- Shape: Corner roundness for UI elements.\n- Appearance: Light and dark mode background colors.\n- Design MD: Free-form design instructions in markdown.\nThis tool establishes the foundational design tokens that apply across all screens in the project.\n\n**Instructions for Tool Call:**\n* Call `update_design_system` tool immediately after this tool to apply the design system to the project, and display the design system in the UI.\n",
"inputSchema": {
"type": "object",
"$defs": {
"Typography": {
"type": "object",
"properties": {
"fontSize": {
"type": "string",
"description": "Optional. The CSS font-size value (e.g., \"32px\", \"1rem\")."
},
"fontFamily": {
"type": "string",
"description": "Optional. The CSS font-family value (e.g., \"Manrope\", \"Inter\")."
},
"fontWeight": {
"type": "string",
"description": "Optional. The CSS font-weight value (e.g., \"400\", \"700\")."
},
"lineHeight": {
"type": "string",
"description": "Optional. The CSS line-height value (e.g., \"1.5\", \"40px\")."
},
"letterSpacing": {
"type": "string",
"description": "Optional. The CSS letter-spacing value (e.g., \"0px\", \"-0.02em\")."
}
},
"description": "A typography style token in a design system, defining the visual properties for a single text level (e.g. \"display-lg\", \"body-md\")."
},
"DesignTheme": {
"type": "object",
"required": [
"colorMode",
"headlineFont",
"bodyFont",
"roundness",
"customColor"
],
"properties": {
"spacing": {
"type": "object",
"description": "Optional. Spacing units for the design system. Maps spacing names to their values.",
"additionalProperties": {
"type": "string"
}
},
"bodyFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Required. Specifies the body font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"designMd": {
"type": "string",
"description": "Optional. Specifies a markdown file that describes the design system."
},
"colorMode": {
"enum": [
"COLOR_MODE_UNSPECIFIED",
"LIGHT",
"DARK"
],
"type": "string",
"description": "Required. Specifies the mode of appearance of the design.",
"x-google-enum-descriptions": [
"Unspecified color mode.",
"Light mode.",
"Dark mode."
]
},
"labelFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Specifies the label font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"roundness": {
"enum": [
"ROUNDNESS_UNSPECIFIED",
"ROUND_TWO",
"ROUND_FOUR",
"ROUND_EIGHT",
"ROUND_TWELVE",
"ROUND_FULL"
],
"type": "string",
"description": "Required. Specifies the roundness of the design. Supported values are: \"ROUND_FOUR\", \"ROUND_EIGHT\", and \"ROUND_TWELVE\", and \"ROUND_FULL\".",
"x-google-enum-deprecated": [
false,
true,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified roundness.",
"Round 2. Unused.",
"Round 4.",
"Round 8.",
"Round 12 or full",
"Round full."
]
},
"typography": {
"type": "object",
"description": "Optional. Typography scale for the design system. Maps level names (e.g. \"display-lg\", \"body-md\") to their Typography token.",
"additionalProperties": {
"$ref": "#/$defs/Typography"
}
},
"customColor": {
"type": "string",
"description": "Required. Specifies a custom theme primary color, or a seed color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"colorVariant": {
"enum": [
"COLOR_VARIANT_UNSPECIFIED",
"MONOCHROME",
"NEUTRAL",
"TONAL_SPOT",
"VIBRANT",
"EXPRESSIVE",
"FIDELITY",
"CONTENT",
"RAINBOW",
"FRUIT_SALAD"
],
"type": "string",
"description": "Optional. Specifies the variant of the dynamic color system.",
"x-google-enum-descriptions": [
"Unspecified color variant.",
"Monochrome variant.",
"Neutral variant.",
"Tonal spot variant.",
"Vibrant variant.",
"Expressive variant.",
"Fidelity variant.",
"Content variant.",
"Rainbow variant.",
"Fruit salad variant."
]
},
"headlineFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Required. Specifies the headline font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"overrideNeutralColor": {
"type": "string",
"description": "Optional. Overrides the neutral color for the dynamic color system (hex format, e.g., \"#ffffff\")."
},
"overridePrimaryColor": {
"type": "string",
"description": "Optional. Overrides the primary color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"overrideTertiaryColor": {
"type": "string",
"description": "Optional. Overrides the tertiary color for the dynamic color system (hex format, e.g., \"#0000ff\")."
},
"overrideSecondaryColor": {
"type": "string",
"description": "Optional. Overrides the secondary color for the dynamic color system (hex format, e.g., \"#00ff00\")."
}
},
"description": "The theme of the design. Next ID: 15 LINT.IfChange"
},
"DesignSystem": {
"type": "object",
"required": [
"displayName",
"theme"
],
"properties": {
"theme": {
"$ref": "#/$defs/DesignTheme",
"description": "Required. Specifies the theme of the design system."
},
"displayName": {
"type": "string",
"description": "Required. Specifies the display name of the design system."
}
},
"description": "Represents a collection of guidelines, design tokens, and reusable components that define the visual and functional characteristics of a product's design. This is used to guide the generation of consistent and branded designs. LINT.IfChange"
}
},
"required": [
"designSystem"
],
"properties": {
"projectId": {
"type": "string",
"description": "Optional. The project ID to create design system for, example: '4044680601076201931', without the `projects/` prefix. If empty, creates a global asset (not associated with any project)."
},
"designSystem": {
"$ref": "#/$defs/DesignSystem",
"description": "Required. The design system to create."
}
},
"description": "Request message for CreateDesignSystem."
},
"outputSchema": {
"type": "object",
"$defs": {
"Typography": {
"type": "object",
"properties": {
"fontSize": {
"type": "string",
"description": "Optional. The CSS font-size value (e.g., \"32px\", \"1rem\")."
},
"fontFamily": {
"type": "string",
"description": "Optional. The CSS font-family value (e.g., \"Manrope\", \"Inter\")."
},
"fontWeight": {
"type": "string",
"description": "Optional. The CSS font-weight value (e.g., \"400\", \"700\")."
},
"lineHeight": {
"type": "string",
"description": "Optional. The CSS line-height value (e.g., \"1.5\", \"40px\")."
},
"letterSpacing": {
"type": "string",
"description": "Optional. The CSS letter-spacing value (e.g., \"0px\", \"-0.02em\")."
}
},
"description": "A typography style token in a design system, defining the visual properties for a single text level (e.g. \"display-lg\", \"body-md\")."
},
"DesignTheme": {
"type": "object",
"properties": {
"font": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The font of the design. Planned to be deprecated in favor of `headline_font`, `body_font`, and `label_font`.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"preset": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The preset color of the design."
},
"spacing": {
"type": "object",
"description": "Optional. Spacing units for the design system. Maps spacing names to their values.",
"additionalProperties": {
"type": "string"
}
},
"bodyFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Body font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"designMd": {
"type": "string",
"description": "Optional. A markdown file that describes the design system."
},
"colorMode": {
"enum": [
"COLOR_MODE_UNSPECIFIED",
"LIGHT",
"DARK"
],
"type": "string",
"description": "Required. The mode of appearance of the design.",
"x-google-enum-descriptions": [
"Unspecified color mode.",
"Light mode.",
"Dark mode."
]
},
"labelFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Label font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"roundness": {
"enum": [
"ROUNDNESS_UNSPECIFIED",
"ROUND_TWO",
"ROUND_FOUR",
"ROUND_EIGHT",
"ROUND_TWELVE",
"ROUND_FULL"
],
"type": "string",
"description": "Required. The roundness of the design.",
"x-google-enum-deprecated": [
false,
true,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified roundness.",
"Round 2. Unused.",
"Round 4.",
"Round 8.",
"Round 12 or full",
"Round full."
]
},
"components": {
"type": "object",
"description": "Optional. Component tokens for the design system. Maps component names to their tokens.",
"additionalProperties": {
"$ref": "#/$defs/ComponentTokens"
}
},
"saturation": {
"type": "integer",
"format": "int32",
"deprecated": true,
"description": "Optional. DEPRECATED: The saturation of the design between 1 and 4."
},
"typography": {
"type": "object",
"description": "Optional. Typography scale for the design system. Maps level names (e.g. \"display-lg\", \"body-md\") to their Typography token.",
"additionalProperties": {
"$ref": "#/$defs/Typography"
}
},
"customColor": {
"type": "string",
"description": "Optional. A custom theme primary color, or a seed color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"description": {
"type": "string",
"deprecated": true,
"description": "Optional. A brief description of the theme aesthetic."
},
"namedColors": {
"type": "object",
"description": "Optional. The color scheme of the design. This is a map of color names to hex color codes. Example: {\"primary\": \"#ff0000\", \"secondary\": \"#00ff00\", \"tertiary\": \"#0000ff\"}",
"additionalProperties": {
"type": "string"
}
},
"colorVariant": {
"enum": [
"COLOR_VARIANT_UNSPECIFIED",
"MONOCHROME",
"NEUTRAL",
"TONAL_SPOT",
"VIBRANT",
"EXPRESSIVE",
"FIDELITY",
"CONTENT",
"RAINBOW",
"FRUIT_SALAD"
],
"type": "string",
"description": "Optional. The variant of the dynamic color system.",
"x-google-enum-descriptions": [
"Unspecified color variant.",
"Monochrome variant.",
"Neutral variant.",
"Tonal spot variant.",
"Vibrant variant.",
"Expressive variant.",
"Fidelity variant.",
"Content variant.",
"Rainbow variant.",
"Fruit salad variant."
]
},
"headlineFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Headline font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"spacingScale": {
"type": "integer",
"format": "int32",
"description": "Optional. The spacing scale level (0=minimal, 1=compact, 2=normal, 3=spacious)."
},
"backgroundDark": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The background color for dark mode (hex format, e.g., \"#1a1a1a\")."
},
"bodyFontFamily": {
"type": "string",
"description": "Optional. Body font family name (e.g., \"Inter\", \"Roboto\")."
},
"backgroundLight": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The background color for light mode (hex format, e.g., \"#f8f8f8\")."
},
"labelFontFamily": {
"type": "string",
"description": "Optional. Label font family name (e.g., \"Inter\", \"Roboto\")."
},
"headlineFontFamily": {
"type": "string",
"description": "Optional. Headline font family name (e.g., \"Inter\", \"Roboto\")."
},
"overrideNeutralColor": {
"type": "string",
"description": "Optional. Override neutral color for the dynamic color system (hex format, e.g., \"#ffffff\")."
},
"overridePrimaryColor": {
"type": "string",
"description": "Optional. Override primary color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"overrideTertiaryColor": {
"type": "string",
"description": "Optional. Override tertiary color for the dynamic color system (hex format, e.g., \"#0000ff\")."
},
"overrideSecondaryColor": {
"type": "string",
"description": "Optional. Override secondary color for the dynamic color system (hex format, e.g., \"#00ff00\")."
}
},
"description": "The theme of the design. Next ID: 27 LINT.IfChange"
},
"DesignSystem": {
"type": "object",
"properties": {
"theme": {
"$ref": "#/$defs/DesignTheme",
"description": "Optional. The theme of the design system."
},
"displayName": {
"type": "string",
"description": "Optional. The display name of the design system."
},
"designTokens": {
"type": "string",
"description": "Optional. Serialized JSON object of the DTCG format design tokens."
},
"manifestJson": {
"type": "string",
"readOnly": true,
"description": "Output only. Serialized JSON design system manifest (`{identity, tokens, designMd, components, isGeneratingComponents}`), in the same format that `RenderCanvasNode` returns for design system nodes (`application/vnd.stitch.design-system+json`). Only populated for MCP `list_design_systems` requests."
},
"styleGuidelines": {
"type": "string",
"description": "Optional. Freeform text description of the style guidelines. This field is not displayed to the user and should not be included in MCP."
}
},
"description": "Represents a collection of guidelines, design tokens, and reusable components that define the visual and functional characteristics of a product's design. This is used to guide the generation of consistent and branded designs. LINT.IfChange"
},
"ComponentTokens": {
"type": "object",
"properties": {
"tokens": {
"type": "object",
"description": "Optional. A component may have these sub tokens: - backgroundColor: <Color> - textColor: <Color> - typography: <Typography> - rounded: <Dimension> - padding: <Dimension> The value may be a literal value or a reference. A token reference must be wrapped in curly braces, and contain an object path to another value in the design system. The referenced object must be a primitive value, e.g. colors.primary-60, rather than an object, e.g. colors.",
"additionalProperties": {
"type": "string"
}
}
},
"description": "A component style token in a design system."
}
},
"properties": {
"name": {
"type": "string",
"description": "Identifier. The resource name of the asset. Format: assets/{asset}",
"x-google-identifier": true
},
"version": {
"type": "string",
"format": "int64",
"readOnly": true,
"description": "Output only. The version of this asset. 0 indicates unversioned (legacy data). Incremented when the asset content changes."
},
"copiedFrom": {
"type": "string",
"description": "Optional. The resource name of the asset this was copied from, if any. Format: assets/{asset} Tracks the fork history of assets."
},
"designSystem": {
"$ref": "#/$defs/DesignSystem",
"description": "Optional. The design system."
}
},
"description": "An Asset resource."
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Creates a design system for a project, with user uploaded DESIGN.md file, and displays the design system in the UI. **Instructions for Tool Call:** * Should call `upload_design_md` tool first to upload DESIGN.md to a Stitch project.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | Required. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix. |
| deviceType | string | Optional. The device type of the screen. |
| selectedScreenInstance * | ref | Required. The screen instance to create the design system from, which is created by UploadDesignMd RPC. |
{
"name": "create_design_system_from_design_md",
"description": "Creates a design system for a project, with user uploaded DESIGN.md file, and displays the design system in the UI.\n\n**Instructions for Tool Call:**\n* Should call `upload_design_md` tool first to upload DESIGN.md to a Stitch project.\n",
"inputSchema": {
"type": "object",
"$defs": {
"SelectedScreenInstance": {
"type": "object",
"required": [
"id",
"sourceScreen"
],
"properties": {
"id": {
"type": "string",
"description": "Required. The id of the screen instance, **NOT** the source screen id. This is available in the screen instances in the Project info, fetched by `get_project`."
},
"sourceScreen": {
"type": "string",
"description": "Required. The source screen of the screen instance. The resource name of the source screen. Format: projects/{project}/screens/{screen}"
}
},
"description": "A screen instance to be edited by the agent, selected by the user."
}
},
"required": [
"projectId",
"selectedScreenInstance"
],
"properties": {
"projectId": {
"type": "string",
"description": "Required. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix."
},
"deviceType": {
"enum": [
"DEVICE_TYPE_UNSPECIFIED",
"MOBILE",
"DESKTOP",
"TABLET",
"AGNOSTIC"
],
"type": "string",
"description": "Optional. The device type of the screen.",
"x-google-enum-descriptions": [
"Unspecified device type.",
"A design for a mobile device.",
"A design for a desktop device.",
"A design for a tablet device.",
"A design that is not tied to a specific device."
]
},
"selectedScreenInstance": {
"$ref": "#/$defs/SelectedScreenInstance",
"description": "Required. The screen instance to create the design system from, which is created by UploadDesignMd RPC."
}
},
"description": "Request message for CreateDesignSystemFromDesignMd."
},
"outputSchema": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"description": "The asset id of the design system. Example: '15996705518239280238', without the `assets/` prefix."
}
},
"description": "Response message for CreateDesignSystemFromDesignMd."
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Updates a design system for a project. Use this tool when the user wants to change the overall visual theme, style, or branding of the application. This includes configuring: - Color Palette: Presets, custom primary colors, and saturation levels. - Typography: Font families (e.g., Inter, Roboto, etc.). - Shape: Corner roundness for UI elements. - Appearance: Light and dark mode background colors. - Design MD: Free-form design instructions in markdown. This tool establishes the foundational design tokens that apply across all screens in the project.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Required. Identifier. The resource name of the design system to update. Format: `assets/{asset_id}` Example: `assets/15996705518239280238` |
| projectId * | string | Required. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix. |
| designSystem * | ref | Required. The design system to update. |
{
"name": "update_design_system",
"description": "Updates a design system for a project. Use this tool when the user wants to change the overall visual theme, style, or branding of the application.\nThis includes configuring:\n- Color Palette: Presets, custom primary colors, and saturation levels.\n- Typography: Font families (e.g., Inter, Roboto, etc.).\n- Shape: Corner roundness for UI elements.\n- Appearance: Light and dark mode background colors.\n- Design MD: Free-form design instructions in markdown.\nThis tool establishes the foundational design tokens that apply across all screens in the project.\n",
"inputSchema": {
"type": "object",
"$defs": {
"Typography": {
"type": "object",
"properties": {
"fontSize": {
"type": "string",
"description": "Optional. The CSS font-size value (e.g., \"32px\", \"1rem\")."
},
"fontFamily": {
"type": "string",
"description": "Optional. The CSS font-family value (e.g., \"Manrope\", \"Inter\")."
},
"fontWeight": {
"type": "string",
"description": "Optional. The CSS font-weight value (e.g., \"400\", \"700\")."
},
"lineHeight": {
"type": "string",
"description": "Optional. The CSS line-height value (e.g., \"1.5\", \"40px\")."
},
"letterSpacing": {
"type": "string",
"description": "Optional. The CSS letter-spacing value (e.g., \"0px\", \"-0.02em\")."
}
},
"description": "A typography style token in a design system, defining the visual properties for a single text level (e.g. \"display-lg\", \"body-md\")."
},
"DesignTheme": {
"type": "object",
"required": [
"colorMode",
"headlineFont",
"bodyFont",
"roundness",
"customColor"
],
"properties": {
"spacing": {
"type": "object",
"description": "Optional. Spacing units for the design system. Maps spacing names to their values.",
"additionalProperties": {
"type": "string"
}
},
"bodyFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Required. Specifies the body font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"designMd": {
"type": "string",
"description": "Optional. Specifies a markdown file that describes the design system."
},
"colorMode": {
"enum": [
"COLOR_MODE_UNSPECIFIED",
"LIGHT",
"DARK"
],
"type": "string",
"description": "Required. Specifies the mode of appearance of the design.",
"x-google-enum-descriptions": [
"Unspecified color mode.",
"Light mode.",
"Dark mode."
]
},
"labelFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Specifies the label font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"roundness": {
"enum": [
"ROUNDNESS_UNSPECIFIED",
"ROUND_TWO",
"ROUND_FOUR",
"ROUND_EIGHT",
"ROUND_TWELVE",
"ROUND_FULL"
],
"type": "string",
"description": "Required. Specifies the roundness of the design. Supported values are: \"ROUND_FOUR\", \"ROUND_EIGHT\", and \"ROUND_TWELVE\", and \"ROUND_FULL\".",
"x-google-enum-deprecated": [
false,
true,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified roundness.",
"Round 2. Unused.",
"Round 4.",
"Round 8.",
"Round 12 or full",
"Round full."
]
},
"typography": {
"type": "object",
"description": "Optional. Typography scale for the design system. Maps level names (e.g. \"display-lg\", \"body-md\") to their Typography token.",
"additionalProperties": {
"$ref": "#/$defs/Typography"
}
},
"customColor": {
"type": "string",
"description": "Required. Specifies a custom theme primary color, or a seed color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"colorVariant": {
"enum": [
"COLOR_VARIANT_UNSPECIFIED",
"MONOCHROME",
"NEUTRAL",
"TONAL_SPOT",
"VIBRANT",
"EXPRESSIVE",
"FIDELITY",
"CONTENT",
"RAINBOW",
"FRUIT_SALAD"
],
"type": "string",
"description": "Optional. Specifies the variant of the dynamic color system.",
"x-google-enum-descriptions": [
"Unspecified color variant.",
"Monochrome variant.",
"Neutral variant.",
"Tonal spot variant.",
"Vibrant variant.",
"Expressive variant.",
"Fidelity variant.",
"Content variant.",
"Rainbow variant.",
"Fruit salad variant."
]
},
"headlineFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Required. Specifies the headline font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"overrideNeutralColor": {
"type": "string",
"description": "Optional. Overrides the neutral color for the dynamic color system (hex format, e.g., \"#ffffff\")."
},
"overridePrimaryColor": {
"type": "string",
"description": "Optional. Overrides the primary color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"overrideTertiaryColor": {
"type": "string",
"description": "Optional. Overrides the tertiary color for the dynamic color system (hex format, e.g., \"#0000ff\")."
},
"overrideSecondaryColor": {
"type": "string",
"description": "Optional. Overrides the secondary color for the dynamic color system (hex format, e.g., \"#00ff00\")."
}
},
"description": "The theme of the design. Next ID: 15 LINT.IfChange"
},
"DesignSystem": {
"type": "object",
"required": [
"displayName",
"theme"
],
"properties": {
"theme": {
"$ref": "#/$defs/DesignTheme",
"description": "Required. Specifies the theme of the design system."
},
"displayName": {
"type": "string",
"description": "Required. Specifies the display name of the design system."
}
},
"description": "Represents a collection of guidelines, design tokens, and reusable components that define the visual and functional characteristics of a product's design. This is used to guide the generation of consistent and branded designs. LINT.IfChange"
}
},
"required": [
"name",
"projectId",
"designSystem"
],
"properties": {
"name": {
"type": "string",
"description": "Required. Identifier. The resource name of the design system to update. Format: `assets/{asset_id}` Example: `assets/15996705518239280238`",
"x-google-identifier": true
},
"projectId": {
"type": "string",
"description": "Required. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix."
},
"designSystem": {
"$ref": "#/$defs/DesignSystem",
"description": "Required. The design system to update."
}
},
"description": "Request message for UpdateDesignSystem."
},
"outputSchema": {
"type": "object",
"$defs": {
"Typography": {
"type": "object",
"properties": {
"fontSize": {
"type": "string",
"description": "Optional. The CSS font-size value (e.g., \"32px\", \"1rem\")."
},
"fontFamily": {
"type": "string",
"description": "Optional. The CSS font-family value (e.g., \"Manrope\", \"Inter\")."
},
"fontWeight": {
"type": "string",
"description": "Optional. The CSS font-weight value (e.g., \"400\", \"700\")."
},
"lineHeight": {
"type": "string",
"description": "Optional. The CSS line-height value (e.g., \"1.5\", \"40px\")."
},
"letterSpacing": {
"type": "string",
"description": "Optional. The CSS letter-spacing value (e.g., \"0px\", \"-0.02em\")."
}
},
"description": "A typography style token in a design system, defining the visual properties for a single text level (e.g. \"display-lg\", \"body-md\")."
},
"DesignTheme": {
"type": "object",
"properties": {
"font": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The font of the design. Planned to be deprecated in favor of `headline_font`, `body_font`, and `label_font`.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"preset": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The preset color of the design."
},
"spacing": {
"type": "object",
"description": "Optional. Spacing units for the design system. Maps spacing names to their values.",
"additionalProperties": {
"type": "string"
}
},
"bodyFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Body font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"designMd": {
"type": "string",
"description": "Optional. A markdown file that describes the design system."
},
"colorMode": {
"enum": [
"COLOR_MODE_UNSPECIFIED",
"LIGHT",
"DARK"
],
"type": "string",
"description": "Required. The mode of appearance of the design.",
"x-google-enum-descriptions": [
"Unspecified color mode.",
"Light mode.",
"Dark mode."
]
},
"labelFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Label font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"roundness": {
"enum": [
"ROUNDNESS_UNSPECIFIED",
"ROUND_TWO",
"ROUND_FOUR",
"ROUND_EIGHT",
"ROUND_TWELVE",
"ROUND_FULL"
],
"type": "string",
"description": "Required. The roundness of the design.",
"x-google-enum-deprecated": [
false,
true,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified roundness.",
"Round 2. Unused.",
"Round 4.",
"Round 8.",
"Round 12 or full",
"Round full."
]
},
"components": {
"type": "object",
"description": "Optional. Component tokens for the design system. Maps component names to their tokens.",
"additionalProperties": {
"$ref": "#/$defs/ComponentTokens"
}
},
"saturation": {
"type": "integer",
"format": "int32",
"deprecated": true,
"description": "Optional. DEPRECATED: The saturation of the design between 1 and 4."
},
"typography": {
"type": "object",
"description": "Optional. Typography scale for the design system. Maps level names (e.g. \"display-lg\", \"body-md\") to their Typography token.",
"additionalProperties": {
"$ref": "#/$defs/Typography"
}
},
"customColor": {
"type": "string",
"description": "Optional. A custom theme primary color, or a seed color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"description": {
"type": "string",
"deprecated": true,
"description": "Optional. A brief description of the theme aesthetic."
},
"namedColors": {
"type": "object",
"description": "Optional. The color scheme of the design. This is a map of color names to hex color codes. Example: {\"primary\": \"#ff0000\", \"secondary\": \"#00ff00\", \"tertiary\": \"#0000ff\"}",
"additionalProperties": {
"type": "string"
}
},
"colorVariant": {
"enum": [
"COLOR_VARIANT_UNSPECIFIED",
"MONOCHROME",
"NEUTRAL",
"TONAL_SPOT",
"VIBRANT",
"EXPRESSIVE",
"FIDELITY",
"CONTENT",
"RAINBOW",
"FRUIT_SALAD"
],
"type": "string",
"description": "Optional. The variant of the dynamic color system.",
"x-google-enum-descriptions": [
"Unspecified color variant.",
"Monochrome variant.",
"Neutral variant.",
"Tonal spot variant.",
"Vibrant variant.",
"Expressive variant.",
"Fidelity variant.",
"Content variant.",
"Rainbow variant.",
"Fruit salad variant."
]
},
"headlineFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Headline font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"spacingScale": {
"type": "integer",
"format": "int32",
"description": "Optional. The spacing scale level (0=minimal, 1=compact, 2=normal, 3=spacious)."
},
"backgroundDark": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The background color for dark mode (hex format, e.g., \"#1a1a1a\")."
},
"bodyFontFamily": {
"type": "string",
"description": "Optional. Body font family name (e.g., \"Inter\", \"Roboto\")."
},
"backgroundLight": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The background color for light mode (hex format, e.g., \"#f8f8f8\")."
},
"labelFontFamily": {
"type": "string",
"description": "Optional. Label font family name (e.g., \"Inter\", \"Roboto\")."
},
"headlineFontFamily": {
"type": "string",
"description": "Optional. Headline font family name (e.g., \"Inter\", \"Roboto\")."
},
"overrideNeutralColor": {
"type": "string",
"description": "Optional. Override neutral color for the dynamic color system (hex format, e.g., \"#ffffff\")."
},
"overridePrimaryColor": {
"type": "string",
"description": "Optional. Override primary color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"overrideTertiaryColor": {
"type": "string",
"description": "Optional. Override tertiary color for the dynamic color system (hex format, e.g., \"#0000ff\")."
},
"overrideSecondaryColor": {
"type": "string",
"description": "Optional. Override secondary color for the dynamic color system (hex format, e.g., \"#00ff00\")."
}
},
"description": "The theme of the design. Next ID: 27 LINT.IfChange"
},
"DesignSystem": {
"type": "object",
"properties": {
"theme": {
"$ref": "#/$defs/DesignTheme",
"description": "Optional. The theme of the design system."
},
"displayName": {
"type": "string",
"description": "Optional. The display name of the design system."
},
"designTokens": {
"type": "string",
"description": "Optional. Serialized JSON object of the DTCG format design tokens."
},
"manifestJson": {
"type": "string",
"readOnly": true,
"description": "Output only. Serialized JSON design system manifest (`{identity, tokens, designMd, components, isGeneratingComponents}`), in the same format that `RenderCanvasNode` returns for design system nodes (`application/vnd.stitch.design-system+json`). Only populated for MCP `list_design_systems` requests."
},
"styleGuidelines": {
"type": "string",
"description": "Optional. Freeform text description of the style guidelines. This field is not displayed to the user and should not be included in MCP."
}
},
"description": "Represents a collection of guidelines, design tokens, and reusable components that define the visual and functional characteristics of a product's design. This is used to guide the generation of consistent and branded designs. LINT.IfChange"
},
"ComponentTokens": {
"type": "object",
"properties": {
"tokens": {
"type": "object",
"description": "Optional. A component may have these sub tokens: - backgroundColor: <Color> - textColor: <Color> - typography: <Typography> - rounded: <Dimension> - padding: <Dimension> The value may be a literal value or a reference. A token reference must be wrapped in curly braces, and contain an object path to another value in the design system. The referenced object must be a primitive value, e.g. colors.primary-60, rather than an object, e.g. colors.",
"additionalProperties": {
"type": "string"
}
}
},
"description": "A component style token in a design system."
}
},
"properties": {
"name": {
"type": "string",
"description": "Identifier. The resource name of the asset. Format: assets/{asset}",
"x-google-identifier": true
},
"version": {
"type": "string",
"format": "int64",
"readOnly": true,
"description": "Output only. The version of this asset. 0 indicates unversioned (legacy data). Incremented when the asset content changes."
},
"copiedFrom": {
"type": "string",
"description": "Optional. The resource name of the asset this was copied from, if any. Format: assets/{asset} Tracks the fork history of assets."
},
"designSystem": {
"$ref": "#/$defs/DesignSystem",
"description": "Optional. The design system."
}
},
"description": "An Asset resource."
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Lists all design systems for a given project.
| Parameter | Type | Description |
|---|---|---|
| projectId | string | Optional. The project ID to list design systems for, example: '4044680601076201931', without the `projects/` prefix. If empty, lists all global design systems. |
{
"name": "list_design_systems",
"description": "Lists all design systems for a given project.\n",
"inputSchema": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "Optional. The project ID to list design systems for, example: '4044680601076201931', without the `projects/` prefix. If empty, lists all global design systems."
}
},
"description": "Request message for ListDesignSystems."
},
"outputSchema": {
"type": "object",
"$defs": {
"Asset": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifier. The resource name of the asset. Format: assets/{asset}",
"x-google-identifier": true
},
"version": {
"type": "string",
"format": "int64",
"readOnly": true,
"description": "Output only. The version of this asset. 0 indicates unversioned (legacy data). Incremented when the asset content changes."
},
"copiedFrom": {
"type": "string",
"description": "Optional. The resource name of the asset this was copied from, if any. Format: assets/{asset} Tracks the fork history of assets."
},
"designSystem": {
"$ref": "#/$defs/DesignSystem",
"description": "Optional. The design system."
}
},
"description": "An Asset resource."
},
"Typography": {
"type": "object",
"properties": {
"fontSize": {
"type": "string",
"description": "Optional. The CSS font-size value (e.g., \"32px\", \"1rem\")."
},
"fontFamily": {
"type": "string",
"description": "Optional. The CSS font-family value (e.g., \"Manrope\", \"Inter\")."
},
"fontWeight": {
"type": "string",
"description": "Optional. The CSS font-weight value (e.g., \"400\", \"700\")."
},
"lineHeight": {
"type": "string",
"description": "Optional. The CSS line-height value (e.g., \"1.5\", \"40px\")."
},
"letterSpacing": {
"type": "string",
"description": "Optional. The CSS letter-spacing value (e.g., \"0px\", \"-0.02em\")."
}
},
"description": "A typography style token in a design system, defining the visual properties for a single text level (e.g. \"display-lg\", \"body-md\")."
},
"DesignTheme": {
"type": "object",
"properties": {
"font": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The font of the design. Planned to be deprecated in favor of `headline_font`, `body_font`, and `label_font`.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"preset": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The preset color of the design."
},
"spacing": {
"type": "object",
"description": "Optional. Spacing units for the design system. Maps spacing names to their values.",
"additionalProperties": {
"type": "string"
}
},
"bodyFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Body font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"designMd": {
"type": "string",
"description": "Optional. A markdown file that describes the design system."
},
"colorMode": {
"enum": [
"COLOR_MODE_UNSPECIFIED",
"LIGHT",
"DARK"
],
"type": "string",
"description": "Required. The mode of appearance of the design.",
"x-google-enum-descriptions": [
"Unspecified color mode.",
"Light mode.",
"Dark mode."
]
},
"labelFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Label font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"roundness": {
"enum": [
"ROUNDNESS_UNSPECIFIED",
"ROUND_TWO",
"ROUND_FOUR",
"ROUND_EIGHT",
"ROUND_TWELVE",
"ROUND_FULL"
],
"type": "string",
"description": "Required. The roundness of the design.",
"x-google-enum-deprecated": [
false,
true,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified roundness.",
"Round 2. Unused.",
"Round 4.",
"Round 8.",
"Round 12 or full",
"Round full."
]
},
"components": {
"type": "object",
"description": "Optional. Component tokens for the design system. Maps component names to their tokens.",
"additionalProperties": {
"$ref": "#/$defs/ComponentTokens"
}
},
"saturation": {
"type": "integer",
"format": "int32",
"deprecated": true,
"description": "Optional. DEPRECATED: The saturation of the design between 1 and 4."
},
"typography": {
"type": "object",
"description": "Optional. Typography scale for the design system. Maps level names (e.g. \"display-lg\", \"body-md\") to their Typography token.",
"additionalProperties": {
"$ref": "#/$defs/Typography"
}
},
"customColor": {
"type": "string",
"description": "Optional. A custom theme primary color, or a seed color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"description": {
"type": "string",
"deprecated": true,
"description": "Optional. A brief description of the theme aesthetic."
},
"namedColors": {
"type": "object",
"description": "Optional. The color scheme of the design. This is a map of color names to hex color codes. Example: {\"primary\": \"#ff0000\", \"secondary\": \"#00ff00\", \"tertiary\": \"#0000ff\"}",
"additionalProperties": {
"type": "string"
}
},
"colorVariant": {
"enum": [
"COLOR_VARIANT_UNSPECIFIED",
"MONOCHROME",
"NEUTRAL",
"TONAL_SPOT",
"VIBRANT",
"EXPRESSIVE",
"FIDELITY",
"CONTENT",
"RAINBOW",
"FRUIT_SALAD"
],
"type": "string",
"description": "Optional. The variant of the dynamic color system.",
"x-google-enum-descriptions": [
"Unspecified color variant.",
"Monochrome variant.",
"Neutral variant.",
"Tonal spot variant.",
"Vibrant variant.",
"Expressive variant.",
"Fidelity variant.",
"Content variant.",
"Rainbow variant.",
"Fruit salad variant."
]
},
"headlineFont": {
"enum": [
"FONT_UNSPECIFIED",
"BE_VIETNAM_PRO",
"EPILOGUE",
"INTER",
"LEXEND",
"MANROPE",
"NEWSREADER",
"NOTO_SERIF",
"PLUS_JAKARTA_SANS",
"PUBLIC_SANS",
"SPACE_GROTESK",
"SPLINE_SANS",
"WORK_SANS",
"DOMINE",
"LIBRE_CASLON_TEXT",
"EB_GARAMOND",
"LITERATA",
"SOURCE_SERIF_4",
"SOURCE_SERIF_FOUR",
"MONTSERRAT",
"METROPHOBIC",
"METROPOLIS",
"SOURCE_SANS_3",
"SOURCE_SANS_THREE",
"NUNITO_SANS",
"ARIMO",
"HANKEN_GROTESK",
"RUBIK",
"GEIST",
"DM_SANS",
"IBM_PLEX_SANS",
"SORA",
"ANYBODY",
"ANTON",
"ARCHIVO_NARROW",
"ATKINSON_HYPERLEGIBLE_NEXT",
"BARLOW_CONDENSED",
"BEBAS_NEUE",
"BODONI_MODA",
"BRICOLAGE_GROTESQUE",
"CHIVO",
"CLIMATE_CRISIS",
"COMFORTAA",
"COURIER_PRIME",
"FIRA_SANS",
"GOOGLE_SANS",
"GOOGLE_SANS_CODE",
"GOOGLE_SANS_FLEX",
"GOOGLE_SANS_MONO",
"GOOGLE_SANS_TEXT",
"IBM_PLEX_SERIF",
"JETBRAINS_MONO",
"KARLA",
"LIBRE_FRANKLIN",
"MERRIWEATHER",
"NOTO_SANS",
"OPEN_SANS",
"OSWALD",
"OUTFIT",
"PLAYFAIR_DISPLAY",
"POIRET_ONE",
"QUESTRIAL",
"QUICKSAND",
"RALEWAY",
"ROBOTO_FLEX",
"SPACE_MONO",
"SYNE",
"VOLLKORN"
],
"type": "string",
"description": "Optional. Headline font.",
"x-google-enum-deprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"x-google-enum-descriptions": [
"Unspecified font.",
"Be Vietnam Pro font.",
"Epilogue font.",
"Inter font.",
"Lexend font.",
"Manrope font.",
"Newsreader font.",
"Noto Serif font.",
"Plus Jakarta Sans font.",
"Public Sans font.",
"Space Grotesk font.",
"Spline Sans font.",
"Work Sans font.",
"Domine font.",
"Libre Caslon Text font.",
"EB Garamond font.",
"Literata font.",
"Source Serif 4 font.",
"Source Serif 4 font. Deprecated.",
"Montserrat font.",
"The Metrophobic font.",
"Metropolis font. Deprecated.",
"The Source Sans 3 font.",
"Source Sans 3 font. Deprecated.",
"Nunito Sans font.",
"Arimo font.",
"Hanken Grotesk font.",
"Rubik font.",
"Geist font.",
"DM Sans font.",
"IBM Plex Sans font.",
"Sora font.",
"Anybody font.",
"Anton font.",
"Archivo Narrow font.",
"Atkinson Hyperlegible Next font.",
"Barlow Condensed font.",
"Bebas Neue font.",
"Bodoni Moda font.",
"Bricolage Grotesque font.",
"Chivo font.",
"Climate Crisis font.",
"Comfortaa font.",
"Courier Prime font.",
"Fira Sans font.",
"Google Sans font.",
"Google Sans Code font.",
"Google Sans Flex font.",
"Google Sans Mono font.",
"Google Sans Text font.",
"IBM Plex Serif font.",
"JetBrains Mono font.",
"Karla font.",
"Libre Franklin font.",
"Merriweather font.",
"Noto Sans font.",
"Open Sans font.",
"Oswald font.",
"Outfit font.",
"Playfair Display font.",
"Poiret One font.",
"Questrial font.",
"Quicksand font.",
"Raleway font.",
"Roboto Flex font.",
"Space Mono font.",
"Syne font.",
"Vollkorn font."
]
},
"spacingScale": {
"type": "integer",
"format": "int32",
"description": "Optional. The spacing scale level (0=minimal, 1=compact, 2=normal, 3=spacious)."
},
"backgroundDark": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The background color for dark mode (hex format, e.g., \"#1a1a1a\")."
},
"bodyFontFamily": {
"type": "string",
"description": "Optional. Body font family name (e.g., \"Inter\", \"Roboto\")."
},
"backgroundLight": {
"type": "string",
"deprecated": true,
"description": "Optional. DEPRECATED: The background color for light mode (hex format, e.g., \"#f8f8f8\")."
},
"labelFontFamily": {
"type": "string",
"description": "Optional. Label font family name (e.g., \"Inter\", \"Roboto\")."
},
"headlineFontFamily": {
"type": "string",
"description": "Optional. Headline font family name (e.g., \"Inter\", \"Roboto\")."
},
"overrideNeutralColor": {
"type": "string",
"description": "Optional. Override neutral color for the dynamic color system (hex format, e.g., \"#ffffff\")."
},
"overridePrimaryColor": {
"type": "string",
"description": "Optional. Override primary color for the dynamic color system (hex format, e.g., \"#ff0000\")."
},
"overrideTertiaryColor": {
"type": "string",
"description": "Optional. Override tertiary color for the dynamic color system (hex format, e.g., \"#0000ff\")."
},
"overrideSecondaryColor": {
"type": "string",
"description": "Optional. Override secondary color for the dynamic color system (hex format, e.g., \"#00ff00\")."
}
},
"description": "The theme of the design. Next ID: 27 LINT.IfChange"
},
"DesignSystem": {
"type": "object",
"properties": {
"theme": {
"$ref": "#/$defs/DesignTheme",
"description": "Optional. The theme of the design system."
},
"displayName": {
"type": "string",
"description": "Optional. The display name of the design system."
},
"designTokens": {
"type": "string",
"description": "Optional. Serialized JSON object of the DTCG format design tokens."
},
"manifestJson": {
"type": "string",
"readOnly": true,
"description": "Output only. Serialized JSON design system manifest (`{identity, tokens, designMd, components, isGeneratingComponents}`), in the same format that `RenderCanvasNode` returns for design system nodes (`application/vnd.stitch.design-system+json`). Only populated for MCP `list_design_systems` requests."
},
"styleGuidelines": {
"type": "string",
"description": "Optional. Freeform text description of the style guidelines. This field is not displayed to the user and should not be included in MCP."
}
},
"description": "Represents a collection of guidelines, design tokens, and reusable components that define the visual and functional characteristics of a product's design. This is used to guide the generation of consistent and branded designs. LINT.IfChange"
},
"ComponentTokens": {
"type": "object",
"properties": {
"tokens": {
"type": "object",
"description": "Optional. A component may have these sub tokens: - backgroundColor: <Color> - textColor: <Color> - typography: <Typography> - rounded: <Dimension> - padding: <Dimension> The value may be a literal value or a reference. A token reference must be wrapped in curly braces, and contain an object path to another value in the design system. The referenced object must be a primitive value, e.g. colors.primary-60, rather than an object, e.g. colors.",
"additionalProperties": {
"type": "string"
}
}
},
"description": "A component style token in a design system."
}
},
"properties": {
"designSystems": {
"type": "array",
"items": {
"$ref": "#/$defs/Asset"
},
"description": "The design systems for the given project."
}
},
"description": "Response message for ListDesignSystems."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Applies a design system to a list of screens. Use this tool when the user wants to update one or more screens to match the style of a design system. This tool applies the selected design system's foundational design tokens (colors, fonts, shapes, etc.) to the chosen screens, modifying their appearance to align with the design system.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Required. The asset id of the design system to apply, can be fetched from 'list_design_systems'. Example: '15996705518239280238', without the `assets/` prefix. |
| projectId * | string | Required. The project ID of screen instances to edit, example: '4044680601076201931', without the `projects/` prefix. |
| selectedScreenInstances * | array | Required. The screen instances to edit, which is available in the Project info, fetched by `get_project`. |
{
"name": "apply_design_system",
"description": "Applies a design system to a list of screens. Use this tool when the user wants to update one or more screens to match the style of a design system.\nThis tool applies the selected design system's foundational design tokens (colors, fonts, shapes, etc.) to the chosen screens, modifying their appearance to align with the design system.\n",
"inputSchema": {
"type": "object",
"$defs": {
"SelectedScreenInstance": {
"type": "object",
"required": [
"id",
"sourceScreen"
],
"properties": {
"id": {
"type": "string",
"description": "Required. The id of the screen instance, **NOT** the source screen id. This is available in the screen instances in the Project info, fetched by `get_project`."
},
"sourceScreen": {
"type": "string",
"description": "Required. The source screen of the screen instance. The resource name of the source screen. Format: projects/{project}/screens/{screen}"
}
},
"description": "A screen instance to be edited by the agent, selected by the user."
}
},
"required": [
"projectId",
"selectedScreenInstances",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"description": "Required. The asset id of the design system to apply, can be fetched from 'list_design_systems'. Example: '15996705518239280238', without the `assets/` prefix."
},
"projectId": {
"type": "string",
"description": "Required. The project ID of screen instances to edit, example: '4044680601076201931', without the `projects/` prefix."
},
"selectedScreenInstances": {
"type": "array",
"items": {
"$ref": "#/$defs/SelectedScreenInstance"
},
"description": "Required. The screen instances to edit, which is available in the Project info, fetched by `get_project`."
}
},
"description": "Request message for ApplyDesignSystem."
},
"outputSchema": {
"truncated": true,
"chars": 36161
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Stitch MCP server provides tools to interact with Stitch, an AI-powered platform that generates UI designs and frontend code from text and images. You can always make your design at https://stitch.withgoogle.com, and then use this MCP to manage your projects and screens.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.