aws_ensure_credentials
Verify AWS profile credentials are valid and automatically refresh expired SSO sessions using a cached refresh token before running AWS operations.
Instructions
Check if AWS credentials are valid, and automatically refresh using cached SSO refresh token if expired.
Args: profile_name: AWS profile name (defaults to 'default')
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aws_ensure_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |