gcp_get_metric
Query GCP Cloud Monitoring metrics by type and project over a time window to inspect performance and diagnose issues without switching dashboards.
Instructions
Query Cloud Monitoring metric. (demo mode)
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": {
"metric_type": "<metric_type>"
},
"name": "gcp_get_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | No | ||
| project | No | ||
| metric_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |