search_logs
Find a text pattern in a CloudWatch log group within a recent time window to triage root causes across platform services.
Instructions
Search a CloudWatch log group for a text pattern within a recent time window. Use this for quick root-cause triage across the platform's services.
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": {
"log_group": "<log_group>",
"pattern": "<pattern>"
},
"name": "search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events to return (default 20) | |
| pattern | Yes | Substring to search for | |
| log_group | Yes | Log group name | |
| since_minutes | No | How far back to search, in minutes (default 60) |