convert_weight
Convert mass between units such as mg, g, kg, oz, lb, and stone for recipes and ingredient measurements.
Instructions
Convert a mass between weight units (mg, g, kg, oz, lb, stone).
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": "convert_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | Yes | ||
| from_unit | Yes |