|
| 1 | +--- |
| 2 | +title: Google Contacts |
| 3 | +description: Manage Google Contacts |
| 4 | +--- |
| 5 | + |
| 6 | +import { BlockInfoCard } from "@/components/ui/block-info-card" |
| 7 | + |
| 8 | +<BlockInfoCard |
| 9 | + type="google_contacts" |
| 10 | + color="#E0E0E0" |
| 11 | +/> |
| 12 | + |
| 13 | +## Usage Instructions |
| 14 | + |
| 15 | +Integrate Google Contacts into the workflow. Can create, read, update, delete, list, and search contacts. |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +## Tools |
| 20 | + |
| 21 | +### `google_contacts_create` |
| 22 | + |
| 23 | +Create a new contact in Google Contacts |
| 24 | + |
| 25 | +#### Input |
| 26 | + |
| 27 | +| Parameter | Type | Required | Description | |
| 28 | +| --------- | ---- | -------- | ----------- | |
| 29 | +| `givenName` | string | Yes | First name of the contact | |
| 30 | +| `familyName` | string | No | Last name of the contact | |
| 31 | +| `email` | string | No | Email address of the contact | |
| 32 | +| `emailType` | string | No | Email type: home, work, or other | |
| 33 | +| `phone` | string | No | Phone number of the contact | |
| 34 | +| `phoneType` | string | No | Phone type: mobile, home, work, or other | |
| 35 | +| `organization` | string | No | Organization/company name | |
| 36 | +| `jobTitle` | string | No | Job title at the organization | |
| 37 | +| `notes` | string | No | Notes or biography for the contact | |
| 38 | + |
| 39 | +#### Output |
| 40 | + |
| 41 | +| Parameter | Type | Description | |
| 42 | +| --------- | ---- | ----------- | |
| 43 | +| `content` | string | Contact creation confirmation message | |
| 44 | +| `metadata` | json | Created contact metadata including resource name and details | |
| 45 | + |
| 46 | +### `google_contacts_get` |
| 47 | + |
| 48 | +Get a specific contact from Google Contacts |
| 49 | + |
| 50 | +#### Input |
| 51 | + |
| 52 | +| Parameter | Type | Required | Description | |
| 53 | +| --------- | ---- | -------- | ----------- | |
| 54 | +| `resourceName` | string | Yes | Resource name of the contact \(e.g., people/c1234567890\) | |
| 55 | + |
| 56 | +#### Output |
| 57 | + |
| 58 | +| Parameter | Type | Description | |
| 59 | +| --------- | ---- | ----------- | |
| 60 | +| `content` | string | Contact retrieval confirmation message | |
| 61 | +| `metadata` | json | Contact details including name, email, phone, and organization | |
| 62 | + |
| 63 | +### `google_contacts_list` |
| 64 | + |
| 65 | +List contacts from Google Contacts |
| 66 | + |
| 67 | +#### Input |
| 68 | + |
| 69 | +| Parameter | Type | Required | Description | |
| 70 | +| --------- | ---- | -------- | ----------- | |
| 71 | +| `pageSize` | number | No | Number of contacts to return \(1-1000, default 100\) | |
| 72 | +| `pageToken` | string | No | Page token from a previous list request for pagination | |
| 73 | +| `sortOrder` | string | No | Sort order for contacts | |
| 74 | + |
| 75 | +#### Output |
| 76 | + |
| 77 | +| Parameter | Type | Description | |
| 78 | +| --------- | ---- | ----------- | |
| 79 | +| `content` | string | Summary of found contacts count | |
| 80 | +| `metadata` | json | List of contacts with pagination tokens | |
| 81 | + |
| 82 | +### `google_contacts_search` |
| 83 | + |
| 84 | +Search contacts in Google Contacts by name, email, phone, or organization |
| 85 | + |
| 86 | +#### Input |
| 87 | + |
| 88 | +| Parameter | Type | Required | Description | |
| 89 | +| --------- | ---- | -------- | ----------- | |
| 90 | +| `query` | string | Yes | Search query to match against contact names, emails, phones, and organizations | |
| 91 | +| `pageSize` | number | No | Number of results to return \(default 10, max 30\) | |
| 92 | + |
| 93 | +#### Output |
| 94 | + |
| 95 | +| Parameter | Type | Description | |
| 96 | +| --------- | ---- | ----------- | |
| 97 | +| `content` | string | Summary of search results count | |
| 98 | +| `metadata` | json | Search results with matching contacts | |
| 99 | + |
| 100 | +### `google_contacts_update` |
| 101 | + |
| 102 | +Update an existing contact in Google Contacts |
| 103 | + |
| 104 | +#### Input |
| 105 | + |
| 106 | +| Parameter | Type | Required | Description | |
| 107 | +| --------- | ---- | -------- | ----------- | |
| 108 | +| `resourceName` | string | Yes | Resource name of the contact \(e.g., people/c1234567890\) | |
| 109 | +| `etag` | string | Yes | ETag from a previous get request \(required for concurrency control\) | |
| 110 | +| `givenName` | string | No | Updated first name | |
| 111 | +| `familyName` | string | No | Updated last name | |
| 112 | +| `email` | string | No | Updated email address | |
| 113 | +| `emailType` | string | No | Email type: home, work, or other | |
| 114 | +| `phone` | string | No | Updated phone number | |
| 115 | +| `phoneType` | string | No | Phone type: mobile, home, work, or other | |
| 116 | +| `organization` | string | No | Updated organization/company name | |
| 117 | +| `jobTitle` | string | No | Updated job title | |
| 118 | +| `notes` | string | No | Updated notes or biography | |
| 119 | + |
| 120 | +#### Output |
| 121 | + |
| 122 | +| Parameter | Type | Description | |
| 123 | +| --------- | ---- | ----------- | |
| 124 | +| `content` | string | Contact update confirmation message | |
| 125 | +| `metadata` | json | Updated contact metadata | |
| 126 | + |
| 127 | +### `google_contacts_delete` |
| 128 | + |
| 129 | +Delete a contact from Google Contacts |
| 130 | + |
| 131 | +#### Input |
| 132 | + |
| 133 | +| Parameter | Type | Required | Description | |
| 134 | +| --------- | ---- | -------- | ----------- | |
| 135 | +| `resourceName` | string | Yes | Resource name of the contact to delete \(e.g., people/c1234567890\) | |
| 136 | + |
| 137 | +#### Output |
| 138 | + |
| 139 | +| Parameter | Type | Description | |
| 140 | +| --------- | ---- | ----------- | |
| 141 | +| `content` | string | Contact deletion confirmation message | |
| 142 | +| `metadata` | json | Deletion details including resource name | |
| 143 | + |
| 144 | + |
0 commit comments