search_cpv_codes
Resolve a keyword to CPV codes for filtering Swiss procurement tenders. Use when a subject is named instead of a code.
Instructions
Translate a keyword into the CPV classification codes needed to filter a search. Call this first when the user names a subject rather than a code.
Search CPV classification codes by keyword.
CPV (Common Procurement Vocabulary) is the international code system used to
filter search_procurements by category. Resolve a keyword like "Metall" to
its code here, then pass the code to search_procurements(cpv_codes=[...]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| codes | Yes | ||
| count | Yes | ||
| source | Yes | ||
| system | Yes | cpv, bkp, npk, cpc, ebkp-h, ebkp-t or oag. | |
| match_type | No | exact, fuzzy (broader term, see note), or none. | none |
| provenance | Yes | ||
| retrieved_at | Yes |