Start provider connection
provider_connect_handoffCreates a connection link for the person represented by the current actor.
The link carries only an attempt ID and grants nothing: the browser signs in, refuses anyone but this person, then runs provider consent and required choices. No dashboard is needed. Each call creates a new attempt, valid for 30 minutes. Only read scope is required because the link is inert: the person's browser session authorizes every step. provider_status exposes configuration; configured=false means required deployment configuration is missing. browser_url is the person's connection page. readback_tool with readback_arguments reports that exact attempt after browser completion. Google Drive ends with file selection in Google Picker; Gmail ends with support-address selection; Meta ends with Facebook Page and Instagram selection. No provider code, state, token or secret is accepted or returned. LINE credentials belong only on the connect page, never in chat. Discord connects the customer's own bot through the same private browser page, including its token and application secret, provider consent, server and channel selection. The page includes setup and repair instructions. These secrets never belong in tool arguments.
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": {
"agent_id": "<agent_id>",
"provider": "<provider>"
},
"name": "provider_connect_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language of the person's provider-connection page. | en |
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| provider | Yes | Provider for the new browser connection attempt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cancel | Yes | ||
| resume | Yes | ||
| status | Yes | ||
| expired | Yes | ||
| agent_id | Yes | ||
| provider | Yes | ||
| attempt_id | Yes | ||
| expires_at | Yes | ||
| browser_url | Yes | ||
| browser_path | Yes | ||
| workspace_id | Yes | ||
| readback_tool | Yes | ||
| workspace_name | Yes | ||
| readback_arguments | Yes |