convert_length
Unit converter (length)
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": "convert_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | To: one of m, cm, mm, km, in, ft, yd, mi. | |
| from | Yes | From: one of m, cm, mm, km, in, ft, yd, mi. | |
| value | Yes | The number to convert, for example: 12.5. |