google-workspace-mcp 1.0.4__py3-none-any.whl → 1.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google_workspace_mcp/__main__.py +6 -5
- google_workspace_mcp/services/drive.py +39 -12
- google_workspace_mcp/services/slides.py +2033 -57
- google_workspace_mcp/tools/add_image.py +1781 -0
- google_workspace_mcp/tools/calendar.py +12 -17
- google_workspace_mcp/tools/docs_tools.py +24 -32
- google_workspace_mcp/tools/drive.py +264 -21
- google_workspace_mcp/tools/gmail.py +27 -36
- google_workspace_mcp/tools/sheets_tools.py +18 -25
- google_workspace_mcp/tools/slides.py +774 -55
- google_workspace_mcp/utils/unit_conversion.py +201 -0
- {google_workspace_mcp-1.0.4.dist-info → google_workspace_mcp-1.1.5.dist-info}/METADATA +2 -2
- {google_workspace_mcp-1.0.4.dist-info → google_workspace_mcp-1.1.5.dist-info}/RECORD +15 -13
- {google_workspace_mcp-1.0.4.dist-info → google_workspace_mcp-1.1.5.dist-info}/WHEEL +0 -0
- {google_workspace_mcp-1.0.4.dist-info → google_workspace_mcp-1.1.5.dist-info}/entry_points.txt +0 -0
@@ -11,10 +11,9 @@ from google_workspace_mcp.services.sheets_service import SheetsService
|
|
11
11
|
logger = logging.getLogger(__name__)
|
12
12
|
|
13
13
|
|
14
|
-
@mcp.tool(
|
15
|
-
|
16
|
-
|
17
|
-
)
|
14
|
+
# @mcp.tool(
|
15
|
+
# name="sheets_create_spreadsheet",
|
16
|
+
# )
|
18
17
|
async def sheets_create_spreadsheet(title: str) -> dict[str, Any]:
|
19
18
|
"""
|
20
19
|
Creates a new, empty Google Spreadsheet.
|
@@ -44,7 +43,6 @@ async def sheets_create_spreadsheet(title: str) -> dict[str, Any]:
|
|
44
43
|
|
45
44
|
@mcp.tool(
|
46
45
|
name="sheets_read_range",
|
47
|
-
description="Reads data from a specified range in a Google Spreadsheet (e.g., 'Sheet1!A1:B5').",
|
48
46
|
)
|
49
47
|
async def sheets_read_range(spreadsheet_id: str, range_a1: str) -> dict[str, Any]:
|
50
48
|
"""
|
@@ -77,10 +75,9 @@ async def sheets_read_range(spreadsheet_id: str, range_a1: str) -> dict[str, Any
|
|
77
75
|
return result
|
78
76
|
|
79
77
|
|
80
|
-
@mcp.tool(
|
81
|
-
|
82
|
-
|
83
|
-
)
|
78
|
+
# @mcp.tool(
|
79
|
+
# name="sheets_write_range",
|
80
|
+
# )
|
84
81
|
async def sheets_write_range(
|
85
82
|
spreadsheet_id: str,
|
86
83
|
range_a1: str,
|
@@ -129,10 +126,9 @@ async def sheets_write_range(
|
|
129
126
|
return result
|
130
127
|
|
131
128
|
|
132
|
-
@mcp.tool(
|
133
|
-
|
134
|
-
|
135
|
-
)
|
129
|
+
# @mcp.tool(
|
130
|
+
# name="sheets_append_rows",
|
131
|
+
# )
|
136
132
|
async def sheets_append_rows(
|
137
133
|
spreadsheet_id: str,
|
138
134
|
range_a1: str,
|
@@ -187,10 +183,9 @@ async def sheets_append_rows(
|
|
187
183
|
return result
|
188
184
|
|
189
185
|
|
190
|
-
@mcp.tool(
|
191
|
-
|
192
|
-
|
193
|
-
)
|
186
|
+
# @mcp.tool(
|
187
|
+
# name="sheets_clear_range",
|
188
|
+
# )
|
194
189
|
async def sheets_clear_range(spreadsheet_id: str, range_a1: str) -> dict[str, Any]:
|
195
190
|
"""
|
196
191
|
Clears all values from a given A1 notation range in a Google Spreadsheet.
|
@@ -221,10 +216,9 @@ async def sheets_clear_range(spreadsheet_id: str, range_a1: str) -> dict[str, An
|
|
221
216
|
return result
|
222
217
|
|
223
218
|
|
224
|
-
@mcp.tool(
|
225
|
-
|
226
|
-
|
227
|
-
)
|
219
|
+
# @mcp.tool(
|
220
|
+
# name="sheets_add_sheet",
|
221
|
+
# )
|
228
222
|
async def sheets_add_sheet(spreadsheet_id: str, title: str) -> dict[str, Any]:
|
229
223
|
"""
|
230
224
|
Adds a new sheet with the given title to the specified spreadsheet.
|
@@ -255,10 +249,9 @@ async def sheets_add_sheet(spreadsheet_id: str, title: str) -> dict[str, Any]:
|
|
255
249
|
return result
|
256
250
|
|
257
251
|
|
258
|
-
@mcp.tool(
|
259
|
-
|
260
|
-
|
261
|
-
)
|
252
|
+
# @mcp.tool(
|
253
|
+
# name="sheets_delete_sheet",
|
254
|
+
# )
|
262
255
|
async def sheets_delete_sheet(spreadsheet_id: str, sheet_id: int) -> dict[str, Any]:
|
263
256
|
"""
|
264
257
|
Deletes a sheet from the specified spreadsheet using its numeric ID.
|