Convert UCUM units
identifiers_unit-ucum-convertRead-onlyIdempotent
Convert a numeric value between a small bundled UCUM / alias unit subset (length, mass, volume, time, temperature). Incommensurable units return converted=null. Price $0.02 USDC. POST /api/v1/identifiers/unit-ucum-convert. An unpaid call returns the x402 payment terms and does not run.
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": {
"value": "<value>",
"from": "<from>",
"to": "<to>"
},
"name": "identifiers_unit-ucum-convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | to, string, length 1 to 32. Required. | |
| from | Yes | from, string, length 1 to 32. Required. | |
| value | Yes | value, number. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | to. String. | |
| from | No | from. String. | |
| value | No | value. Number. | |
| reason | No | reason. Null. | |
| sources | No | sources. Array. | |
| toLabel | No | toLabel. String. | |
| quantity | No | quantity. String. | |
| converted | No | converted. Number. | |
| fromLabel | No | fromLabel. String. | |
| supported | No | supported. Boolean. | |
| limitations | No | limitations. Array. | |
| retrievedAt | No | retrievedAt. String. |