Large Language Models (LLMs) für die Entwicklung in Google Workspace verwenden
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite finden Sie eine Übersicht über Best Practices und empfohlene Tools für die Arbeit mit Large Language Models (LLMs) zur Entwicklung von Lösungen für Google Workspace.
Beim Entwickeln in Google Workspace können LLMs Sie auf folgende Weise unterstützen:
- Code zum Aufrufen von Google Workspace-APIs generieren oder Fehlerbehebung durchführen
- Entwickeln Sie eine Lösung auf Grundlage der aktuellen Google Workspace-Entwicklerdokumentation.
- Über die Befehlszeile oder Ihre integrierte Entwicklungsumgebung (IDE) auf Google Workspace-Ressourcen zugreifen
Model Context Protocol (MCP) für Google Workspace verwenden
Ein Model Context Protocol (MCP) ist ein standardisiertes offenes Protokoll, das LLMs und KI-Agenten Kontext zur Verfügung stellt, damit sie in Gesprächen mit mehreren Zügen Informationen von besserer Qualität zurückgeben können.
Google Workspace hat einen MCP-Server, der ein Schema für ein LLM bereitstellt, um auf Entwicklerdokumentation zuzugreifen und darin zu suchen. Sie können diesen Server verwenden, wenn Sie KI-Agents erstellen oder nutzen, um Folgendes zu tun:
So stellen Sie den Server bereit:
Google Workspace MCP Developer Assist auf GitHub ansehen
Wir empfehlen die folgenden KI-Tools zur Unterstützung von Code, die Sie in Ihren Workflow für die Google Workspace-Entwicklung einbinden können:
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-31 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-31 (UTC)."],[],[],null,["# Use Large Language Models (LLMs) to develop on Google Workspace\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Got 5 minutes? Help us improve the Google Workspace documentation by taking a quick [online survey](https://forms.gle/qYR2wnTRueYeQeSi6). |\n\nThis page provides an overview of best practices and recommended tools for\nworking with Large Language Models (LLMs) to develop solutions for\nGoogle Workspace.\n\nWhen developing on Google Workspace, LLMs can help you in the\nfollowing ways:\n\n- Generate or troubleshoot code for calling Google Workspace APIs.\n- Build a solution based on the latest Google Workspace developer documentation.\n- Access Google Workspace resources from the command line or your integrated development environment (IDE).\n\nUse a Model Context Protocol (MCP) for Google Workspace\n-------------------------------------------------------\n\nA [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction)\nis a standardized open protocol that provides context to LLMs and AI agents so that\nthey can return better quality information in multi-turn conversations.\n\nGoogle Workspace has an MCP server that provides a schema for an LLM\nto access and search developer documentation. You can use this server when\nyou're building or using AI agents to do any of the following:\n\n- Retrieve up-to-date information about Google Workspace APIs and services.\n- Build and preview [user interfaces (UIs) that extend Google Workspace applications](/workspace/extend). You can use these UIs to build Google Workspace add-ons, Google Chat apps, Google Drive apps, and more.\n\nTo deploy the server, visit the Google Workspace GitHub repository:\n\n[View Google Workspace MCP Developer Assist on GitHub](https://github.com/googleworkspace/dev-assist)\n\nUse AI code assistants\n----------------------\n\nWe recommend the following AI code assist tools to incorporate into your\nworkflow for Google Workspace development:\n\n- [Google AI Studio](https://ai.google.dev/aistudio): Generate code for\n your Google Workspace solutions, including code for\n [Google Apps Script](/apps-script) projects.\n\n- [Gemini Code Assist](/gemini-code-assist/docs/overview): Lets you use\n LLMs right from your IDE and includes the\n [`@googledocs`](/workspace/docs/api/how-tos/read-docs-gemini-tool) command to\n access Google Docs documents.\n\nRelated topics\n--------------\n\n- [Build with AI for Google Workspace](/workspace/guides/ai-overview)\n- [Extend the Google Workspace UI](/workspace/extend)\n- [Gemini for Google Cloud overview](https://cloud.google.com/gemini/docs/overview)\n- [Read documents while coding with Gemini Code Assist](/workspace/docs/api/how-tos/read-docs-gemini-tool)"]]