Google Workspace (gsuite-sdk)
v0.15.0Gmail, Calendar, Drive, Sheets, Tasks and Contacts for agents, with your own Google login
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
auth_status
Whether the server has a valid Google login, and for which account and scopes.
gmail_search
Search Gmail with Gmail query syntax (from:, to:, subject:, is:unread, has:attachment, newer_than:7d, label:...). Returns summaries without bodies.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
max_results | integer |
gmail_read
Read one email: headers, text body and attachment list.
| Parameter | Type | Description |
|---|---|---|
message_id * | string |
gmail_send
Send an email. Confirm recipients and content with the user first.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
subject * | string | |
to * | array | |
bcc | ||
cc | ||
html | boolean |
gmail_reply
Reply in the thread of a message. Confirm the content with the user first.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
message_id * | string | |
reply_all | boolean |
gmail_create_draft
Save a draft without sending it (safe way to propose an email).
| Parameter | Type | Description |
|---|---|---|
body * | string | |
subject * | string | |
to * | array | |
bcc | ||
cc | ||
html | boolean |
gmail_read_thread
Read a whole conversation: every message with its text body, oldest first. Messages carry their `thread_id`, so search or read a message first.
| Parameter | Type | Description |
|---|---|---|
thread_id * | string |
gmail_list_labels
Every label (system and user) with its ID and unread counts.
gmail_list_drafts
Saved drafts as summaries with their `draft_id`.
| Parameter | Type | Description |
|---|---|---|
max_results | integer |
gmail_modify_labels
Add or remove labels on messages; labels are names or IDs. Recipes: archive = remove ["INBOX"]; mark read = remove ["UNREAD"]; mark unread = add ["UNREAD"]; star = add ["STARRED"]; file = add ["Work"]. Use gmail_trash to delete.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
add | ||
remove |
gmail_forward
Forward a message with an optional note above it. Confirm recipients with the user first.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
to * | array | |
body | string | |
include_attachments | boolean |
gmail_send_draft
Send a saved draft. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string |
gmail_create_label
Create a label; "Parent/Child" nests it.
| Parameter | Type | Description |
|---|---|---|
name * | string |
gmail_trash
Move messages to the trash (Gmail empties it after 30 days). Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array |
gmail_delete_draft
Discard a draft for good.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string |
calendar_list_events
Events from now until `days` ahead.
| Parameter | Type | Description |
|---|---|---|
calendar_id | ||
days | integer | |
max_results | integer |
calendar_create_event
Create an event. `start`/`end` are ISO; a date alone makes an all-day event. `meet` adds a Google Meet link; `send_updates="all"` emails the attendees (confirm with the user first).
| Parameter | Type | Description |
|---|---|---|
start * | string | |
summary * | string | |
attendees | ||
calendar_id | ||
description | ||
end | ||
location | ||
meet | boolean | |
send_updates | string |
calendar_delete_event
Delete an event. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
calendar_id | ||
send_updates | string |
calendar_free_busy
Busy intervals per calendar (default: the user's) between two ISO datetimes.
| Parameter | Type | Description |
|---|---|---|
time_max * | string | |
time_min * | string | |
calendars |
drive_search
Find files by name (contains) or with a raw Drive query (e.g. "mimeType = 'application/pdf' and modifiedTime > '2026-01-01'").
| Parameter | Type | Description |
|---|---|---|
max_results | integer | |
name | ||
query |
drive_read_file
Text of a file: Google Docs/Slides as text, Google Sheets as CSV, and plain-text files as they are. Binary files (PDF, images) are refused.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | |
max_chars | integer |
drive_upload
Upload a local file (path on the machine running this server).
| Parameter | Type | Description |
|---|---|---|
path * | string | |
name | ||
parent_id |
sheets_read
Read a range. `spreadsheet` is a URL, an ID or an exact title; `sheet` is the tab (default: the first one). Values come back as displayed.
| Parameter | Type | Description |
|---|---|---|
spreadsheet * | string | |
range | string | |
sheet |
sheets_append
Append rows after the last one with data.
| Parameter | Type | Description |
|---|---|---|
rows * | array | |
spreadsheet * | string | |
sheet |
sheets_update
Overwrite a range starting at `range` (e.g. "B2") with a 2D list of values.
| Parameter | Type | Description |
|---|---|---|
range * | string | |
spreadsheet * | string | |
values * | array | |
sheet |
sheets_upsert
Update the rows whose `key` column matches and append the rest. The first row of the sheet is the header; rows are {column: value}.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
rows * | array | |
spreadsheet * | string | |
sheet |
tasks_list
Tasks of a list (default: the user's main list), pending only unless show_completed. Needs the Tasks scope.
| Parameter | Type | Description |
|---|---|---|
due_before | ||
max_results | integer | |
show_completed | boolean | |
tasklist_id | string |
tasks_add
Create a task (a subtask when `parent` is a task ID). `due` is a day.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
due | ||
notes | ||
parent | ||
tasklist_id | string |
tasks_complete
Mark a task as completed.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
tasklist_id | string |
contacts_search
Contacts whose name, email, phone or company starts with `query` (max 30). Needs the Contacts scope.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
max_results | integer |
contacts_get
One contact by ID ("c123" or "people/c123").
| Parameter | Type | Description |
|---|---|---|
contact_id * | string |
contacts_list_groups
Contact groups (labels) with their member counts. System groups such as "myContacts" are included.
contacts_group_members
The contacts in a group (ID like "a1b2" or "contactGroups/a1b2").
| Parameter | Type | Description |
|---|---|---|
group_id * | string |
contacts_create_group
Create a contact group (label).
| Parameter | Type | Description |
|---|---|---|
name * | string |
contacts_modify_group
Add contacts to a group and/or remove them (contact IDs). Removing keeps the contact. `skipped` lists contacts Google left as they were.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
add | ||
remove |
contacts_delete_group
Delete a contact group; its contacts stay. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
group_id * | string |
searchconsole_list_sites
Search Console properties the user can see (siteUrl, permissionLevel). Domain properties look like "sc-domain:example.com".
searchconsole_query
Search analytics: clicks, impressions, ctr and position, grouped by `dimensions` (each row's `keys` maps dimension -> value). Dates are ISO days (data lags ~2-3 days). `filters` are ANDed: [{"dimension": "query", "operator": "contains", "expression": "shoes"}]; operators: equals, notEquals, contains, notContains, includingRegex, excludingRegex. `row_limit` max 25000.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | |
site_url * | string | |
start_date * | string | |
dimensions | ||
filters | ||
row_limit | integer | |
search_type | string | |
start_row | integer |
searchconsole_inspect_url
URL Inspection: Google index status, coverage, canonical and last crawl for one URL of a property; `raw` has the full result (mobile usability, rich results).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
url * | string | |
language_code |
searchconsole_list_sitemaps
Sitemaps submitted for a property, with status, errors and warnings.
| Parameter | Type | Description |
|---|---|---|
site_url * | string |
analytics_account_summaries
GA4 accounts with their properties (use it to find property IDs).
analytics_list_properties
GA4 properties of an account ("123" or "accounts/123").
| Parameter | Type | Description |
|---|---|---|
account_id * | string | |
show_deleted | boolean |
analytics_run_report
GA4 Data API runReport. Metrics e.g. activeUsers, sessions, screenPageViews, conversions; dimensions e.g. date, country, pagePath, sessionSource. Dates: ISO days or today/yesterday/NdaysAgo; `date_ranges` ([[start, end], ...]) overrides start/end. Filters are ANDed: {"field": "country", "value": "Argentina"}, {"field": .., "operator": "CONTAINS", "value": ..}, {"field": .., "values": [..]}, numeric {"field": "sessions", "operator": "GREATER_THAN", "value": 10}; "not": true negates. Each row has `dimensions` (name -> value) and numeric `me…
| Parameter | Type | Description |
|---|---|---|
metrics * | array | |
property_id * | string | |
date_ranges | ||
descending | boolean | |
dimension_filters | ||
dimensions | ||
end_date | string | |
limit | integer | |
metric_filters | ||
offset | integer | |
order_by | ||
start_date | string |
analytics_run_realtime_report
GA4 realtime report (last 30 minutes). Default metric activeUsers; dimensions e.g. country, unifiedScreenName, deviceCategory.
| Parameter | Type | Description |
|---|---|---|
property_id * | string | |
dimension_filters | ||
dimensions | ||
limit | integer | |
metrics |
tagmanager_list_accounts
Tag Manager accounts (path like "accounts/123").
tagmanager_list_containers
Containers of an account ("accounts/123"), with their public GTM-XXXX id.
| Parameter | Type | Description |
|---|---|---|
account_path * | string |
tagmanager_list_workspaces
Workspaces of a container ("accounts/123/containers/456").
| Parameter | Type | Description |
|---|---|---|
container_path * | string |
tagmanager_list_tags
Tags of a workspace ("accounts/1/containers/2/workspaces/3").
| Parameter | Type | Description |
|---|---|---|
workspace_path * | string |
tagmanager_list_triggers
Triggers of a workspace ("accounts/1/containers/2/workspaces/3").
| Parameter | Type | Description |
|---|---|---|
workspace_path * | string |
tagmanager_list_variables
Variables of a workspace ("accounts/1/containers/2/workspaces/3").
| Parameter | Type | Description |
|---|---|---|
workspace_path * | string |
tagmanager_list_versions
Version headers of a container ("accounts/123/containers/456").
| Parameter | Type | Description |
|---|---|---|
container_path * | string |