Get CPU Metrics
get_cpu_metricsRetrieve average, peak, and current CPU metrics for a service. Optionally filter by deployment tag and time range.
Instructions
Get CPU usage metrics (average, peak, current in cores) for a service. Automatically uses the current deploy tag if not specified. Use get_service to find service IDs.
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": {
"serviceId": "<serviceId>"
},
"name": "get_cpu_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End timestamp (Unix seconds) | |
| start | No | Start timestamp (Unix seconds) | |
| deployTag | No | Filter by deployment tag | |
| serviceId | Yes | The service UUID |