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 connects only Facebook accounts with a role on Replai's Meta app until Meta grants Advanced Access. No provider code, state, token or secret is accepted or returned. LINE credentials belong only on the connect page, never in chat.
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 |