Sign in to a service again
reconnect_serviceStarts signing in again for a connection whose sign-in stopped working (list_connections shows it with attention). The same connection gets new access, with its settings kept. The person signs in on the service's own page, from a CodeGene page 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>",
"connection_id": "<connection_id>"
},
"name": "reconnect_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| connection_id | Yes | The connection (list_connections gives ids). |