weight_converter
Convert weight values between metric (mg, g, kg, tonne) and imperial (oz, lb, st) units. Provide the value, source unit, and target unit to get the result.
Instructions
Convert weight: mg/g/kg/tonne ↔ oz/lb/st. 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": "weight_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| value | Yes |