ใช้โมเดลภาษาขนาดใหญ่ (LLM) เพื่อพัฒนาใน Google Workspace
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้ให้ภาพรวมของแนวทางปฏิบัติแนะนำและเครื่องมือที่แนะนำสำหรับการ
ทำงานกับโมเดลภาษาขนาดใหญ่ (LLM) เพื่อพัฒนาโซลูชันสำหรับ
Google Workspace
เมื่อพัฒนาใน Google Workspace แล้ว LLM จะช่วยคุณได้ใน
วิธีต่อไปนี้
- สร้างหรือแก้ปัญหารหัสสำหรับการเรียกใช้ Google Workspace API
- สร้างโซลูชันตามเอกสารประกอบสำหรับนักพัฒนาซอฟต์แวร์ Google Workspace ล่าสุด
- เข้าถึงทรัพยากร Google Workspace จากบรรทัดคำสั่งหรือ
สภาพแวดล้อมการพัฒนาแบบผสานรวม (IDE)
ใช้ Model Context Protocol (MCP) สำหรับ Google Workspace
Model Context Protocol (MCP)
คือโปรโตคอลแบบเปิดที่เป็นมาตรฐานซึ่งให้บริบทแก่ LLM และเอเจนต์ AI เพื่อให้
สามารถแสดงข้อมูลที่มีคุณภาพดีขึ้นในการสนทนาแบบหลายรอบ
Google Workspace มีเซิร์ฟเวอร์ MCP ที่มีสคีมาสำหรับ LLM
เพื่อเข้าถึงและค้นหาเอกสารสำหรับนักพัฒนาแอป คุณใช้เซิร์ฟเวอร์นี้ได้เมื่อสร้างหรือใช้เอเจนต์ AI เพื่อทำสิ่งต่อไปนี้
หากต้องการติดตั้งใช้งานเซิร์ฟเวอร์ ให้ไปที่ที่เก็บ Google Workspace GitHub
ดูความช่วยเหลือสำหรับนักพัฒนา MCP ของ Google Workspace ใน GitHub
เราขอแนะนำเครื่องมือช่วยเขียนโค้ดด้วย AI ต่อไปนี้เพื่อนำไปใช้ใน
เวิร์กโฟลว์สำหรับการพัฒนา Google Workspace
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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)"]]