Request connections
request_connectionsCreate one short link the user opens to connect the services you name, with one button per service. Use the ids from check_setup's missingProviders, plus cloudflare if it is not connected. You cannot create a connection yourself, and must never ask the user to paste a secret into the chat: give them this link instead. Then poll check_setup with the returned sessionId and continue once connectionRequest.complete is true. Returns sessionId, connectUrl and expiresAt.
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": {
"providers": "<providers>"
},
"name": "request_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| providers | Yes | Provider ids, e.g. ["google_gmail","slack","cloudflare"]. | |
| workflowId | No | The workflow this is for, if any. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiresAt | Yes | ||
| providers | Yes | ||
| sessionId | Yes | ||
| connectUrl | Yes |