convert_mass
Convert weight measurements between units like grams, kilograms, ounces, pounds, and more. Input a value, select source and target units, and get precise results instantly.
Instructions
Convert weight between units.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from_unit | Yes | Source unit | |
to_unit | Yes | Target unit | |
value | Yes | Weight value to convert |
Input Schema (JSON Schema)
{
"properties": {
"from_unit": {
"description": "Source unit",
"enum": [
"carat",
"decagram",
"hectogram",
"gram",
"milligram",
"microgram",
"nanogram",
"picogram",
"femtogram",
"grain",
"ounce",
"troy ounce",
"pound",
"stone",
"short ton (US)",
"long ton (UK)",
"tonne",
"kilotonne",
"megatonne",
"kilogram"
],
"title": "From Unit",
"type": "string"
},
"to_unit": {
"description": "Target unit",
"enum": [
"carat",
"decagram",
"hectogram",
"gram",
"milligram",
"microgram",
"nanogram",
"picogram",
"femtogram",
"grain",
"ounce",
"troy ounce",
"pound",
"stone",
"short ton (US)",
"long ton (UK)",
"tonne",
"kilotonne",
"megatonne",
"kilogram"
],
"title": "To Unit",
"type": "string"
},
"value": {
"description": "Weight value to convert",
"title": "Value",
"type": "number"
}
},
"required": [
"value",
"from_unit",
"to_unit"
],
"type": "object"
}