s3_get_bucket_metrics
Retrieve S3 bucket request metrics from CloudWatch—including request counts, bytes transferred, and error rates—to diagnose performance, usage, and error issues over a chosen time range.
Instructions
Get S3 bucket request metrics from CloudWatch including request count, bytes downloaded/uploaded, and error rates
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": {
"bucketName": "<bucketName>"
},
"name": "s3_get_bucket_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | AWS region (use the bucket's region for accurate metrics) | |
| bucketName | Yes | The name of the S3 bucket | |
| filterPrefix | No | Optional S3 key prefix to filter metrics | |
| timeRangeHours | No | Time range in hours to look back for metrics (default: 24, max: 168) |