edubase_post_metrics_custom
Set or increment a custom metric value (e.g., +1) and retrieve the saved result to track analytics.
Instructions
Set a custom metric to a value, or increment it with a + prefixed value (e.g. +1). Returns the saved value.
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": "<metric>",
"value": "<value>"
},
"name": "edubase_post_metrics_custom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | target value (also accepts increments with a + prefix) | |
| metric | Yes | metric name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| metric | Yes |