get_cloudwatch_logs
Fetch recent log events from a specified CloudWatch log group and stream by AWS region, with an optional limit, to inspect application or system activity.
Instructions
Fetch recent log events from a CloudWatch log group
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": {
"logGroupName": "<logGroupName>",
"logStreamName": "<logStreamName>",
"region": "<region>"
},
"name": "get_cloudwatch_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of log events to fetch (default 50) | |
| region | Yes | AWS Region | |
| logGroupName | Yes | The name of the CloudWatch log group | |
| logStreamName | Yes | The name of the log stream |