metrics_metric_increment
Increment a counter metric by a specified value, creating it if missing. Tracks count, total, min, max, and last values. Returns the updated counter state.
Instructions
[metrics] Increment a counter metric by a value (default 1). Creates the counter if it doesn't exist. Tracks: count (number of increments), total, min, max, last. Returns the updated counter state.
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": {
"name": "<name>"
},
"name": "metrics_metric_increment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | No | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |