aws_get_caller_identity
Retrieve the current IAM identity to verify which AWS account and role are active for a profile, confirming authentication details before operations.
Instructions
Get the IAM identity of the current caller (STS GetCallerIdentity). Useful for verifying which AWS account and role are active for a profile.
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_get_caller_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name from ~/.aws/config (e.g., 'default', 'production') | |
| region | No | AWS region override (e.g., 'us-east-1', 'sa-east-1') |