list_log_streams
List CloudWatch log streams from a log group, filtered by name prefix or date (YYYY-MM-DD), with configurable limit and sort order.
Instructions
List log streams in a log group with optional filtering by prefix and date (useful for service-based streams like "sprive-backend-2026-02-20")
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": "list_log_streams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Filter streams containing this date (YYYY-MM-DD format) | |
| limit | No | Maximum number of streams to return (default: 50) | |
| prefix | No | Filter streams by name prefix (e.g., "sprive-backend") | |
| orderBy | No | Sort order for streams (default: LastEventTime) | LastEventTime |
| logGroup | No | Log group name. Uses CLOUDWATCH_LOG_GROUP env var if not provided |