Query Logs
gcp-logging-query-logsQuery Google Cloud logs using custom filters to search across payload types and metadata fields for operational insights and troubleshooting.
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 |
|---|---|---|---|
| filter | Yes | The filter to apply to logs (Cloud Logging query language) | |
| limit | No | Maximum number of log entries to return |