integrations_connect_link
Create a one-time link that lets a person WITHOUT a DialogBrain account connect their own Google account to this workspace's Google integration (for example so the workspace can create files in that person's Google Drive). The person opens the link, reads who is asking, signs in with Google and the access is stored on the integration; the link then stops working. If a Google account is already connected, the new one replaces it. Returns url and expires_at (default 24 hours, at most 7 days). Send the link only to the person it is for. For a person's own client with the admin role; an agent cannot call it.
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": {
"integration_id": "<integration_id>"
},
"name": "integrations_connect_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_in | No | Seconds the link stays valid. Default 86400 (24 hours), maximum 604800 (7 days). | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| integration_id | Yes | The Google integration's id (from integrations.list). |