get_service_metrics
Retrieve time-series resource metrics (CPU, RAM, disk, bandwidth) for a service to monitor server load and bandwidth usage.
Instructions
Get resource metrics (CPU / RAM / disk / bandwidth time series) for a single service. Use to answer "is my server busy?" or "how much bandwidth have I used?".
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": {
"service_id": "<service_id>"
},
"name": "get_service_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Aggregation window (default: hour). | |
| service_id | Yes | Service ID from list_services. |