omni_cylinder
Calculate cylinder volume, lateral and total surface area, and base circumference from radius and height to get exact geometry results.
Instructions
Cylinder Volume & Surface Area Calculator. Calculate cylinder volume, lateral curved surface area, total surface area, and base perimeter from radius and height. Discipline: GEOMETRY. Governing mathematical model / formula: Volume = π · r² · h | Total Surface Area = 2πr(r + h).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of cylinder_volume (Cylinder Volume), lateral_area (Lateral Curved Surface Area), total_surface_area (Total Surface Area (Caps + Body)), base_circumference (Base Perimeter / Circumference) using radius (Cylinder Radius (r) in units), height (Height (h) in units). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Cylinder Volume & Surface Area Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "cylinder"
category (string): "geometry"
name (string): "Cylinder Volume & Surface Area Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.cylinder_volume (Cylinder Volume): Formatted display string (e.g. '942.4778 units³')
metrics.lateral_area (Lateral Curved Surface Area): Formatted display string (e.g. '376.9911 units²')
metrics.total_surface_area (Total Surface Area (Caps + Body)): Formatted display string (e.g. '534.0708 units²')
metrics.base_circumference (Base Perimeter / Circumference): Formatted display string (e.g. '31.4159 units')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_cylinder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | No | Height (h) (units). Cylinder altitude. Default: 12. Min: 0.1. Max: 1000. | |
| radius | No | Cylinder Radius (r) (units). Radius of circular base. Default: 5. Min: 0.1. Max: 1000. |