aws_login_complete
Blocks until the AWS SSO browser login started by aws_login_start finishes, then returns the verified identity, token status, or a structured error.
Instructions
Block until the SSO login started by aws_login_start finishes (user completed auth in browser, or subprocess exited with error). Returns the new identity on success, or a structured error. For an ssoSession login there is no profile yet, so it returns the token status and points to aws_sso_list_assignments instead of an identity.
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": {
"sessionId": "<sessionId>"
},
"name": "aws_login_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region for the post-login identity check. | |
| profile | No | Profile to verify identity against after login. Defaults to $AWS_PROFILE or 'default'. | |
| sessionId | Yes | The sessionId returned by aws_login_start. |