Connect a service
connect_serviceStarts connecting a service to a project. Collect the settings list_connectable_services marks as settings in chat first, never a key, password or token. The person then finishes on a CodeGene page (or the service's own sign-in) that this call opens for them or returns as a link. Owners and admins only. If your prompt or page never appears and the call times out, call it again with finish_with set to "link".
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": {
"project_id": "<project_id>",
"provider": "<provider>"
},
"name": "connect_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | The service (list_connectable_services gives ids). | |
| settings | No | The service's settings that are not secret, by setting id, such as a server address. Never a key, password or token. | |
| project_id | Yes | The project (list_projects gives ids). | |
| finish_with | No | Leave out. "link" returns a CodeGene page link for the person to open instead of showing a prompt or opening the page for them, for an assistant that cannot. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. | |
| account_label | No | A name for this connection, such as the account's email. |