get_logs
Retrieve application logs from AWS CloudWatch for deployed serverless projects. Filter by log group, time range, or pattern to quickly diagnose issues.
Instructions
Retrieve application logs from CloudWatch
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": {
"projectName": "<projectName>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectName | Yes | Name of the deployed project | |
| region | No | AWS region | us-east-1 |
| logGroupName | No | Specific log group name (if known) | |
| filterPattern | No | CloudWatch Logs filter pattern | |
| startTime | No | Start time for logs (ISO format) | |
| endTime | No | End time for logs (ISO format) | |
| limit | No | Maximum number of log entries to retrieve |