Flag meter
flag_meterAdmin: flag/unflag a meter as test/synthetic so its events are excluded from usage statistics by default. Touches meter metadata only — never events, never the hash chain, never billing accruals. Requires the server's VIRIDIS_ADMIN_TOKEN.
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": {
"meter_id": "<meter_id>",
"is_test": "<is_test>",
"admin_token": "<admin_token>"
},
"name": "flag_meter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional. Why the flag changed. | |
| is_test | Yes | True to flag the meter as test traffic, false to clear it. | |
| meter_id | Yes | The meter id returned by create_meter. | |
| admin_token | Yes | The server's admin token. Required for this admin action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |