Connect a cloud account
connect_cloud_accountStarts connecting the person's AWS account, Azure subscription or Google Cloud project to a project, with no key or password. Answers one line for the person to paste into their cloud's own browser shell (shellName, shellUrl, command), how long it works, what it grants, and the line that undoes it. Show the person the command exactly. CodeGene connects by itself once the line has run; check_cloud_account says when. Owners and admins of the project only.
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>",
"cloud": "<cloud>"
},
"name": "connect_cloud_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud | Yes | Which cloud: aws, azure or google_cloud. | |
| bundles | No | What CodeGene may do in the account beyond signing in. Leave it out to connect with sign-in only; services added later ask for what they need. | |
| project_id | Yes | The project (list_projects gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |