שימוש במודלים גדולים של שפה (LLMs) לפיתוח ב-Google Workspace
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בדף הזה מפורטות שיטות מומלצות וכלים מומלצים לעבודה עם מודלים גדולים של שפה (LLM) כדי לפתח פתרונות ל-Google Workspace.
כשמפתחים ב-Google Workspace, מודלים של שפה גדולה (LLM) יכולים לעזור לכם בדרכים הבאות:
- ליצור קוד או לפתור בעיות בקוד לקריאה לממשקי API של Google Workspace.
- פיתוח פתרון שמבוסס על התיעוד העדכני למפתחים של Google Workspace.
- גישה למשאבים של Google Workspace משורת הפקודה או מסביבת הפיתוח המשולבת (IDE).
שימוש בפרוטוקול הקשר של מודל (MCP) ל-Google Workspace
פרוטוקול Model Context Protocol (MCP) הוא פרוטוקול פתוח וסטנדרטי שמספק הקשר למודלים של שפה גדולה (LLM) ולסוכני AI, כדי שהם יוכלו לספק מידע באיכות טובה יותר בשיחות מרובות תגובות.
ל-Google Workspace יש שרת MCP שמספק סכימה ל-LLM כדי לגשת לתיעוד למפתחים ולחפש בו. אתם יכולים להשתמש בשרת הזה כשאתם יוצרים סוכני AI או משתמשים בהם כדי לבצע את הפעולות הבאות:
כדי לפרוס את השרת, עוברים למאגר Google Workspace GitHub:
הצגת Google Workspace MCP Developer Assist ב-GitHub
אנחנו ממליצים לשלב את כלי ה-AI הבאים לסיוע בכתיבת קוד בתהליך העבודה שלכם בפיתוח ל-Google Workspace:
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 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)"]]