Query Logs
gcp-logging-query-logsQuery Google Cloud logs with custom Cloud Logging filters, searching text, JSON, and proto payloads plus metadata fields.
Instructions
Query Google Cloud Logs with custom filters. Searches across all payload types (text, JSON, proto) and metadata fields.
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": {
"filter": "<filter>"
},
"name": "gcp-logging-query-logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of log entries to return | |
| filter | Yes | The filter to apply to logs (Cloud Logging query language) |