convert_snow
Convert snow depth between centimetres and inches by supplying a value and its unit; returns the equivalent in the other unit rounded to one decimal place.
Instructions
Convert a snow depth between centimetres and inches.
Give the value and its current unit: "cm" or "in". Returns the value converted to the other unit, rounded to 1 decimal place. Negative depths and any other unit are rejected with an error.
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>"
},
"name": "convert_snow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| from_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |