gcp_get_logs
Query Google Cloud Logging by filter, project, and time window to investigate incidents and retrieve relevant log entries from a read-only DevOps MCP server.
Instructions
Query Cloud Logging. (demo mode -- google-cloud-logging not installed)
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_str": "<filter_str>"
},
"name": "gcp_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| project | No | ||
| filter_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |