classifier_score
Scores a country or custom feature payload using a live GradientBoosting classifier to gauge censorship risk.
Instructions
Score a country (or a custom feature payload) with the live v3 GradientBoosting classifier. Pass only country_code for the current snapshot; pass features (16-feature vector) to score a custom incident. See /v1/classifier/feature-importance for the feature list.
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": {
"country_code": "<country_code>"
},
"name": "classifier_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_code | Yes | ISO 3166-1 alpha-2 country code | |
| features | No | Optional 16-feature vector keyed by feature name. If omitted, the live country snapshot is scored. |