Query Logs by Time Range
gcp-logging-query-time-rangeQuery Google Cloud logs within a specified time range using relative times or ISO timestamps, with optional filters and limits.
Instructions
Query Google Cloud Logs within a specific time range. Supports relative times (1h, 2d) and ISO timestamps.
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": {
"startTime": "<startTime>"
},
"name": "gcp-logging-query-time-range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of log entries to return | |
| filter | No | Additional filter criteria | |
| endTime | No | End time in ISO format (defaults to now) | |
| startTime | Yes | Start time in ISO format or relative time (e.g., "1h", "2d") |