search_units
Find a unit of measurement in the shared catalog (QUDT plus currencies) by name, symbol or currency code ("kilogram", "kg", "USD"); matching is fuzzy. Returns each unit's uri (what set_column_semantics takes), label, symbol and quantity kind, plus quantity_kinds across all matches, best first: pass one back as quantity_kind to disambiguate (unit:M the metre vs a minute). Scale is NOT a unit: thousands of dollars is unit:CCY_USD with scale_exponent: 3. Static: search once per unit.
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": {
"query": "<query>"
},
"name": "search_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum units to return. | |
| query | Yes | What to look for: a unit name, symbol, or currency code — "kilogram", "kg", "USD", "megawatt hour". | |
| quantity_kind | No | One quantity kind (a `uri` from `quantity_kinds`), e.g. `quantitykind:Mass`; its sub-kinds are included. |