Connect Google Workspace
google_connectConnect the company's own Google Workspace so the agent works in its Gmail, Google Calendar and Drive, which stay the source of truth. The company makes a service account in Google Cloud, and its Workspace admin gives the account's client ID domain-wide delegation for gmail.modify, calendar and drive. Give the mailboxes the agent may act as (it never acts as anyone else). Called without secret, it answers with a link for the owner, who pastes the account's JSON key on a Conecto page, so it never passes through the chat (from_a_terminal sends the key file from a terminal); account.credential_added says when it is connected. Each mailbox is checked before anything is kept. On accounts with an owner, cancelling events and replacing files wait for the owner's approval by default. Free. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mailboxes": "<mailboxes>"
},
"name": "google_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | No | The service account's JSON key. Never shown again. Leave it out to get the link instead. | |
| mailboxes | Yes | The addresses the agent may act as, like support@ and sales@. |