length_converter
Convert length values between metric (mm, cm, m, km) and imperial (in, ft, yd, mi) units. Specify value, source unit, and target unit to get the converted measurement.
Instructions
Convert length: mm/cm/m/km ↔ in/ft/yd/mi. Input: value, from, to.
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": "length_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| value | Yes |