convert_length
Convert length measurements between units like meters, feet, miles, and more. Simplify unit conversions for practical use with accurate results.
Instructions
Convert length between units.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from_unit | Yes | Source unit | |
to_unit | Yes | Target unit | |
value | Yes | Length value to convert |
Input Schema (JSON Schema)
{
"properties": {
"from_unit": {
"description": "Source unit",
"enum": [
"angstrom",
"astronomical unit",
"cable",
"centimeter",
"chain (surveyors)",
"decimeter",
"em (pica)",
"fathom",
"foot",
"foot (US survey)",
"furlong",
"hand",
"hectometer",
"inch",
"kilometer",
"light year",
"meter",
"micrometer",
"mil",
"mile",
"nautical mile",
"nautical mile (UK)",
"millimeter",
"nanometer",
"parsec",
"picometer",
"Scandinavian mile",
"thou",
"yard"
],
"title": "From Unit",
"type": "string"
},
"to_unit": {
"description": "Target unit",
"enum": [
"angstrom",
"astronomical unit",
"cable",
"centimeter",
"chain (surveyors)",
"decimeter",
"em (pica)",
"fathom",
"foot",
"foot (US survey)",
"furlong",
"hand",
"hectometer",
"inch",
"kilometer",
"light year",
"meter",
"micrometer",
"mil",
"mile",
"nautical mile",
"nautical mile (UK)",
"millimeter",
"nanometer",
"parsec",
"picometer",
"Scandinavian mile",
"thou",
"yard"
],
"title": "To Unit",
"type": "string"
},
"value": {
"description": "Length value to convert",
"title": "Value",
"type": "number"
}
},
"required": [
"value",
"from_unit",
"to_unit"
],
"type": "object"
}