Await Cloud Credentials
credawaitWait for the user to securely connect their cloud account and subscribe to Luther Systems. Polls until credentials appear on the session.
šÆ USE THIS TOOL WHEN: tfdeploy returns an 'auth_required', 'no_credentials', or 'credentials_expired' error.
The user needs to visit the connect URL to:
Connect their cloud credentials (AWS or GCP)
Sign up and subscribe to a Luther Systems plan (required for deployment)
This secure connection allows InsideOut to deploy and manage infrastructure in the user's cloud account on their behalf. Credentials are handled securely and only used for deployment and management sessions.
WORKFLOW:
FIRST: Present the connect URL and explanation to the user (from the tfdeploy error response)
THEN: Call this tool to begin polling for credentials
The user opens the URL in their browser to subscribe and add credentials
When credentials are found, inform the user and call tfdeploy to deploy
IMPORTANT: Do NOT call this tool without first showing the connect URL to the user. The user needs to see the URL to complete the process.
REQUIRES: session_id from convoopen response (format: sess_v2_...). OPTIONAL: cloud ('aws' or 'gcp'), timeout (integer, seconds to wait, default 300, max 600).
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": {
"session_id": "<session_id>"
},
"name": "credawait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud | No | Cloud provider whose credentials are awaited: 'aws' or 'gcp'. Defaults to 'aws'. | |
| timeout | No | Max seconds to wait for the user to complete the browser-based credential connect flow. Default 300, max 600. | |
| session_id | Yes | Session ID from convoopen ā pass back EXACTLY as returned, including the ?token=... suffix (format: sess_v2_*?token=*). The suffix is part of the session credential; never strip it when summarizing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud | No | Cloud provider: 'aws' or 'gcp'. | |
| hints | No | Guidance for the calling agent: what to do next and which tools relate to this result. | |
| status | No | 'connected' when credentials were found, or 'timeout' when the wait ended first (call credawait again). | |
| session_id | No | Session ID this result belongs to (format sess_v2_*?token=*). Pass it back verbatim to later tools. | |
| auth_method | No | How the credentials were connected, when status is 'connected'. | |
| connect_url | No | URL the user opens to connect credentials, when status is 'timeout'. |