cpv_code_classifier_validator
[Universal CPV code classifier & Modulo 11 check-digit validator. Pure statutory calculation, read-only, side-effect free]. Validates and classifies public procurement supplies, works, and services against Regulation (EC) No 213/2008 CPV 8+1 digit codes with Modulo 11 check-digit verification. Usage: Use this tool to validate CPV codes in tender documents or resolve division, group, and category hierarchies. Returns: JSON object with { queriedCodeOrKeyword: string, isValidCpvFormat: boolean, isCheckDigitValid: boolean, cleanCpvCode: string, hierarchy: object, descriptions: object }.
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": {
"cpvCodeOrKeyword": "<cpvCodeOrKeyword>"
},
"name": "cpv_code_classifier_validator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpvCodeOrKeyword | Yes | 8-digit or 9-digit CPV code (e.g. 72220000-1 or 72220000) or sector keyword | |
| supplementaryCode | No | Optional alphanumeric supplementary CPV code (e.g. AA01-1) |