math_convert
Convert units of measurement across categories like length, mass, temperature, and more, or retrieve physical and mathematical constants.
Instructions
单位换算或物理常数查询。
value: 数值,如 '100'。 unit_from: 源单位,如 'miles'。 unit_to: 目标单位,如 'km'。 constant: 查询物理/数学常数名称。留空则列出所有可用常数。
示例: math_convert(value='100', unit_from='miles', unit_to='km') math_convert(value='32', unit_from='F', unit_to='C') math_convert(constant='speed_of_light') math_convert(constant='') ← 列出所有常数
支持的单位类别: 长度、质量、时间、温度、速度、力、能量、功率、压强、 面积、体积、角度、频率、数据量、浓度。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| unit_from | No | ||
| unit_to | No | ||
| constant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |