Length Converter
calculator_lengthConvert length: mm, cm, m, km, inch, feet, yard, mile.
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_unit": "<from_unit>",
"to_unit": "<to_unit>"
},
"name": "calculator_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value. | |
| to_unit | Yes | Target length unit. | |
| from_unit | Yes | Source length unit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| expression | Yes |