Connect a Site
alterlab_connectStart or poll a connect request so you can act on a site as the user without ever seeing their cookies or password. Pass site (and optionally scopes and reason) to start: the result has a link and user_prompt to show the user, and a connect_id. Pass connect_id to poll: status connected returns an opaque session handle for alterlab_task_start. Use before alterlab_task_start; for a page that needs no login use alterlab_scrape.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "alterlab_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to connect, for example reddit.com. Start only | |
| reason | No | Why you need access, shown to the user. Start only | |
| scopes | No | Access to ask for. Start only | |
| connect_id | No | Id from a started connect. Poll only |