Connect an account
connect_accountStart connecting an account for a connector, destination or MCP.
Returns a browser authorization_url the user opens to authorize (OAuth),
or instructions when the connector needs a different method. For a
BigQuery service account it returns instructions plus a follow_up to the
action that ingests the key — the secret never travels through this tool.
role disambiguates BigQuery: role='source' connects it as a data
source (read the user's own tables); the default connects it as a
destination (write results). Ignored for every other connector.
company_id says which company the authorization should land in. Pass it
whenever the user holds a role in more than one company — reconnecting an
account that lives in a client's or a colleague's company is exactly that
case. list_accounts reports the company_id of every account, so
reconnect a broken one with the company it is already in; otherwise the
authorization can land somewhere else and leave the broken one untouched.
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": {
"connector": "<connector>"
},
"name": "connect_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| method | No | ||
| connector | Yes | ||
| company_id | No | ||
| redirect_uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||