Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions toolkit-docs-generator/data/toolkits/gmail.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "Gmail",
"label": "Gmail",
"version": "7.5.0",
"version": "7.5.1",
"description": "Arcade.dev LLM tools for Gmail",
"metadata": {
"category": "productivity",
Expand Down Expand Up @@ -30,7 +30,7 @@
{
"name": "ChangeEmailLabels",
"qualifiedName": "Gmail.ChangeEmailLabels",
"fullyQualifiedName": "Gmail.ChangeEmailLabels@7.5.0",
"fullyQualifiedName": "Gmail.ChangeEmailLabels@7.5.1",
"description": "Add and remove labels from an email using the Gmail API.",
"parameters": [
{
Expand Down Expand Up @@ -124,7 +124,7 @@
{
"name": "CreateLabel",
"qualifiedName": "Gmail.CreateLabel",
"fullyQualifiedName": "Gmail.CreateLabel@7.5.0",
"fullyQualifiedName": "Gmail.CreateLabel@7.5.1",
"description": "Create a new label in the user's mailbox.",
"parameters": [
{
Expand Down Expand Up @@ -184,7 +184,7 @@
{
"name": "DeleteDraftEmail",
"qualifiedName": "Gmail.DeleteDraftEmail",
"fullyQualifiedName": "Gmail.DeleteDraftEmail@7.5.0",
"fullyQualifiedName": "Gmail.DeleteDraftEmail@7.5.1",
"description": "Delete a draft email using the Gmail API.",
"parameters": [
{
Expand Down Expand Up @@ -244,7 +244,7 @@
{
"name": "GetThread",
"qualifiedName": "Gmail.GetThread",
"fullyQualifiedName": "Gmail.GetThread@7.5.0",
"fullyQualifiedName": "Gmail.GetThread@7.5.1",
"description": "Get the specified thread by ID.",
"parameters": [
{
Expand Down Expand Up @@ -304,7 +304,7 @@
{
"name": "ListDraftEmails",
"qualifiedName": "Gmail.ListDraftEmails",
"fullyQualifiedName": "Gmail.ListDraftEmails@7.5.0",
"fullyQualifiedName": "Gmail.ListDraftEmails@7.5.1",
"description": "Lists draft emails in the user's draft mailbox using the Gmail API.",
"parameters": [
{
Expand Down Expand Up @@ -364,7 +364,7 @@
{
"name": "ListEmails",
"qualifiedName": "Gmail.ListEmails",
"fullyQualifiedName": "Gmail.ListEmails@7.5.0",
"fullyQualifiedName": "Gmail.ListEmails@7.5.1",
"description": "Read emails from a Gmail account and extract plain text content.\n\nBy default, obvious automated emails are excluded from results using\nno-reply sender patterns and Gmail's non-primary category filters\n(promotions, social, updates, forums). Set exclude_automated=False to\ninclude all emails regardless of source.",
"parameters": [
{
Expand Down Expand Up @@ -437,7 +437,7 @@
{
"name": "ListEmailsByHeader",
"qualifiedName": "Gmail.ListEmailsByHeader",
"fullyQualifiedName": "Gmail.ListEmailsByHeader@7.5.0",
"fullyQualifiedName": "Gmail.ListEmailsByHeader@7.5.1",
"description": "Search for emails by header using the Gmail API.\n\nBy default, obvious automated emails are excluded from results using\nno-reply sender patterns and Gmail's non-primary category filters\n(promotions, social, updates, forums). Set exclude_automated=False to\ninclude all emails regardless of source.",
"parameters": [
{
Expand Down Expand Up @@ -596,7 +596,7 @@
{
"name": "ListLabels",
"qualifiedName": "Gmail.ListLabels",
"fullyQualifiedName": "Gmail.ListLabels@7.5.0",
"fullyQualifiedName": "Gmail.ListLabels@7.5.1",
"description": "List all the labels in the user's mailbox.",
"parameters": [],
"auth": {
Expand Down Expand Up @@ -641,7 +641,7 @@
{
"name": "ListThreads",
"qualifiedName": "Gmail.ListThreads",
"fullyQualifiedName": "Gmail.ListThreads@7.5.0",
"fullyQualifiedName": "Gmail.ListThreads@7.5.1",
"description": "List threads in the user's mailbox.\n\nBy default, obvious automated threads are excluded from results using\nno-reply sender patterns and Gmail's non-primary category filters\n(promotions, social, updates, forums). Set exclude_automated=False to\ninclude all threads regardless of source.",
"parameters": [
{
Expand Down Expand Up @@ -740,7 +740,7 @@
{
"name": "ReplyToEmail",
"qualifiedName": "Gmail.ReplyToEmail",
"fullyQualifiedName": "Gmail.ReplyToEmail@7.5.0",
"fullyQualifiedName": "Gmail.ReplyToEmail@7.5.1",
"description": "Send a reply to an email message, optionally with one or more file attachments.\n\nTo attach files, pass ``attachments`` and give each file's local path as a\n``file://`` URI in ``source`` (formatted ``file:///absolute/path/to/file``). The\nfile's bytes are read and substituted on the client before the request is sent, so\nthe contents never pass through this conversation. Do not read, encode, or inline\nthe bytes yourself.",
"parameters": [
{
Expand Down Expand Up @@ -905,7 +905,7 @@
{
"name": "SearchThreads",
"qualifiedName": "Gmail.SearchThreads",
"fullyQualifiedName": "Gmail.SearchThreads@7.5.0",
"fullyQualifiedName": "Gmail.SearchThreads@7.5.1",
"description": "Search for threads in the user's mailbox.\n\nBy default, obvious automated threads are excluded from results using\nno-reply sender patterns and Gmail's non-primary category filters\n(promotions, social, updates, forums). Set exclude_automated=False to\ninclude all threads regardless of source.",
"parameters": [
{
Expand Down Expand Up @@ -1094,7 +1094,7 @@
{
"name": "SendDraftEmail",
"qualifiedName": "Gmail.SendDraftEmail",
"fullyQualifiedName": "Gmail.SendDraftEmail@7.5.0",
"fullyQualifiedName": "Gmail.SendDraftEmail@7.5.1",
"description": "Send a draft email using the Gmail API.",
"parameters": [
{
Expand Down Expand Up @@ -1154,7 +1154,7 @@
{
"name": "SendEmail",
"qualifiedName": "Gmail.SendEmail",
"fullyQualifiedName": "Gmail.SendEmail@7.5.0",
"fullyQualifiedName": "Gmail.SendEmail@7.5.1",
"description": "Send an email using the Gmail API, optionally with one or more file attachments.\n\nTo attach files, pass ``attachments`` and give each file's local path as a\n``file://`` URI in ``source`` (formatted ``file:///absolute/path/to/file``). The\nfile's bytes are read and substituted on the client before the request is sent, so\nthe contents never pass through this conversation. Do not read, encode, or inline\nthe bytes yourself.",
"parameters": [
{
Expand Down Expand Up @@ -1315,7 +1315,7 @@
{
"name": "TrashEmail",
"qualifiedName": "Gmail.TrashEmail",
"fullyQualifiedName": "Gmail.TrashEmail@7.5.0",
"fullyQualifiedName": "Gmail.TrashEmail@7.5.1",
"description": "Move an email to the trash folder using the Gmail API.",
"parameters": [
{
Expand Down Expand Up @@ -1375,7 +1375,7 @@
{
"name": "UpdateDraftEmail",
"qualifiedName": "Gmail.UpdateDraftEmail",
"fullyQualifiedName": "Gmail.UpdateDraftEmail@7.5.0",
"fullyQualifiedName": "Gmail.UpdateDraftEmail@7.5.1",
"description": "Update an existing email draft using the Gmail API.\n\nSingle-part ``text/plain`` and single-part ``text/html`` drafts both support full\nbody replacement; the rebuild follows the existing draft's content type, so a\nplain draft stays plain and an HTML draft stays HTML. Plain-text input supplied\nagainst an HTML draft is auto-converted to HTML, and HTML input supplied against\na plain draft is stored verbatim as ``text/plain``. Reply drafts preserve their\nreply-quote tail (``> `` lines for plain, ``<blockquote>`` for HTML) when the\nbody is supplied as a top-only update.\n\nMultipart drafts and drafts with attachments still fail when the body changes;\nin those cases the tool succeeds only when the effective body is unchanged\n(metadata-only update preserving the existing MIME tree). Edit those drafts in\nGmail directly.\n\nFor each of subject, body, recipient, cc, and bcc, omitting the parameter or passing\n``None`` leaves that part of the draft unchanged (for cc/bcc, existing headers are kept;\npass an empty list to clear).",
"parameters": [
{
Expand All @@ -1398,7 +1398,7 @@
"name": "body",
"type": "string",
"required": false,
"description": "Updated body for the draft. There is no `content_type` argument — the body is encoded to match the existing draft, and reply drafts re-attach their existing reply-quote tail. Omit or pass None to leave the body unchanged.",
"description": "Updated body for the draft. There is no `content_type` argument — the body is encoded to match the existing draft, and reply drafts re-attach their existing reply-quote tail. For multipart drafts or drafts with attachments, omit body and update only subject, recipient, cc, or bcc. Omit or pass None to leave the body unchanged.",
"enum": null,
"inferrable": true
},
Expand Down Expand Up @@ -1507,7 +1507,7 @@
{
"name": "WhoAmI",
"qualifiedName": "Gmail.WhoAmI",
"fullyQualifiedName": "Gmail.WhoAmI@7.5.0",
"fullyQualifiedName": "Gmail.WhoAmI@7.5.1",
"description": "Get comprehensive user profile and Gmail account information.\n\nThis tool provides detailed information about the authenticated user including\ntheir name, email, profile picture, Gmail account statistics, and other\nimportant profile details from Google services.",
"parameters": [],
"auth": {
Expand Down Expand Up @@ -1554,7 +1554,7 @@
{
"name": "WriteDraftEmail",
"qualifiedName": "Gmail.WriteDraftEmail",
"fullyQualifiedName": "Gmail.WriteDraftEmail@7.5.0",
"fullyQualifiedName": "Gmail.WriteDraftEmail@7.5.1",
"description": "Compose a new email draft using the Gmail API, optionally with file attachments.\n\nTo attach files, pass ``attachments`` and give each file's local path as a\n``file://`` URI in ``source`` (formatted ``file:///absolute/path/to/file``). The\nfile's bytes are read and substituted on the client before the request is sent, so\nthe contents never pass through this conversation. Do not read, encode, or inline\nthe bytes yourself.",
"parameters": [
{
Expand Down Expand Up @@ -1715,7 +1715,7 @@
{
"name": "WriteDraftReplyEmail",
"qualifiedName": "Gmail.WriteDraftReplyEmail",
"fullyQualifiedName": "Gmail.WriteDraftReplyEmail@7.5.0",
"fullyQualifiedName": "Gmail.WriteDraftReplyEmail@7.5.1",
"description": "Compose a draft reply to an email message, optionally with one or more file attachments.\n\nTo attach files, pass ``attachments`` and give each file's local path as a\n``file://`` URI in ``source`` (formatted ``file:///absolute/path/to/file``). The\nfile's bytes are read and substituted on the client before the request is sent, so\nthe contents never pass through this conversation. Do not read, encode, or inline\nthe bytes yourself.",
"parameters": [
{
Expand Down Expand Up @@ -1899,6 +1899,6 @@
"import ScopePicker from \"@/app/_components/scope-picker\";"
],
"subPages": [],
"generatedAt": "2026-06-19T12:27:49.684Z",
"summary": "The Gmail toolkit provides Arcade LLM tools for interacting with a user's Gmail account via the Gmail API. It enables reading, composing, sending, organizing, and searching email — covering the full message and draft lifecycle.\n\n## Capabilities\n\n- **Reading & searching:** List emails, threads, and drafts with built-in automated-email filtering (no-reply senders, non-primary categories); search threads by query or header; retrieve full threads by ID; toggle automated filtering with `exclude_automated=False`.\n- **Composing & sending:** Send emails directly or via draft, reply to messages (including draft replies), with support for file attachments supplied as `file://` URIs — file bytes are read client-side and never pass through the conversation.\n- **Draft management:** Create, update, list, send, and delete drafts; update supports subject, body, recipients, cc, and bcc with partial updates (omit fields to preserve them); body replacement handles plain-text and single-part HTML drafts with auto-conversion; multipart/attachment drafts support metadata-only updates.\n- **Label management:** List, create, and apply/remove labels on messages.\n- **Account info:** Retrieve the authenticated user's profile, email address, Gmail statistics, and profile picture via `WhoAmI`.\n- **Trash:** Move messages to trash.\n\n## OAuth\n\nThis toolkit uses OAuth 2.0 via Google. See the [Arcade Google auth provider docs](https://docs.arcade.dev/en/references/auth-providers/google) for setup details."
"generatedAt": "2026-06-27T11:38:13.147Z",
"summary": "The Gmail toolkit provides Arcade LLM tools for interacting with a user's Gmail account via the Gmail API. It enables agents to read, compose, send, organize, and manage email—including drafts, threads, labels, and attachments.\n\n## Capabilities\n\n- **Reading & searching:** List and search emails, threads, and drafts with built-in filtering to exclude automated/promotional mail by default (`exclude_automated=False` to override); retrieve threads by ID and search by header.\n- **Sending & replying:** Send new emails or replies immediately, with optional file attachments supplied as `file://` URIs (bytes are read client-side and never pass through the conversation).\n- **Draft management:** Create, update, send, and delete drafts; compose draft replies. `UpdateDraftEmail` supports full body replacement for plain-text and HTML single-part drafts, with smart handling of content-type conversion and reply-quote preservation.\n- **Label & organization:** List, create, and apply/remove labels on messages; move emails to trash.\n- **Account info:** Retrieve the authenticated user's profile, email address, and Gmail account statistics via `WhoAmI`.\n\n## OAuth\n\nThis toolkit uses OAuth 2.0 via the **Google** provider. See the [Arcade Google auth provider docs](https://docs.arcade.dev/en/references/auth-providers/google) for configuration details."
}
Loading
Loading