Skip to content

Commit ff1f330

Browse files
committed
feat: add context file to Gemini CLI extension
1 parent 07ea272 commit ff1f330

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

GEMINI.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Google Workspace Developer Documentation Server
2+
3+
Use the tools exposed by this server to explore the latest official **Google Workspace (GWS) documentation**. This server is designed to provide the AI agent with access to technical documentation, API references, conceptual guides, tutorials, and code examples for building on the GWS platform.
4+
5+
---
6+
7+
## What is Google Workspace Development?
8+
9+
**Google Workspace (GWS)** is Google's suite of collaboration and productivity tools (e.g., Gmail, Docs, Sheets, Calendar).
10+
11+
GWS development involves building solutions to **enhance your Google Workspace development experience** and **streamline development workflows for Google Workspace APIs and integrations**. This includes:
12+
* Writing **Google Apps Script** for automation and extension.
13+
* Integrating external applications using **Google Workspace APIs** (like the Drive, Calendar, or Gmail APIs).
14+
* Creating **Editor Add-ons** and **Google Workspace Add-ons**.
15+
16+
This extension's tools focus solely on providing the **AI agent** with the necessary official documentation to answer developer-centric questions in this domain.
17+
18+
---
19+
20+
## Provided Tools
21+
22+
This extension registers the following two tools with the AI agent. The agent is instructed to use these tools for any query requiring information about Google Workspace APIs, tutorials, or code examples.
23+
24+
### 1. `search_workspace_docs`
25+
26+
* **Description:** Searches the latest official Google Workspace documentation, including API references, conceptual guides, tutorials, and code examples. The agent uses this tool first to locate the most relevant documentation pages for the user's query.
27+
28+
### 2. `fetch_workspace_docs`
29+
30+
* **Description:** Fetches the full content of a Google Workspace documentation page such as those returned by the `search_workspace_docs` tool. Once a document is found, the agent uses this tool to retrieve the text content necessary to formulate a detailed, accurate answer.

gemini-extension.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "google-workspace-developer-tools",
33
"version": "latest",
4+
"contextFileName": "GEMINI.md",
45
"mcpServers": {
56
"workspace-developer": {
67
"httpUrl": "https://workspace-developer.goog/mcp"

0 commit comments

Comments
 (0)