lambda_get_recent_invocations
Retrieve recent CloudWatch invocation metrics for a Lambda function to investigate incidents and diagnose performance issues.
Instructions
Get recent invocation metrics from CloudWatch for a Lambda function
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": {
"functionName": "<functionName>"
},
"name": "lambda_get_recent_invocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | The granularity in seconds (minimum 60) | |
| region | No | AWS region | |
| functionName | Yes | The function name | |
| timeRangeMinutes | No | Time range in minutes (default 60, max 1440 = 24 hours) |