Weight / Mass Converter
calculator_weightConvert mass: mg, g, kg, ounce, pound, ton (metric).
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_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value. | |
| to_unit | Yes | Target mass unit. | |
| from_unit | Yes | Source mass unit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| expression | Yes |