omni_pyramid
Calculate square pyramid volume, slant height, lateral face area, and total surface area from base side and vertical height for precise deterministic geometry results.
Instructions
Square Pyramid Volume & Slant Height Calculator. Calculate square and rectangular pyramid volume, lateral slant height, lateral face area, and total surface area. Discipline: GEOMETRY. Governing mathematical model / formula: Volume = ⅓ · a² · h | Slant Height s = √[h² + (a/2)²].
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of pyramid_volume (Pyramid Volume), slant_height (Lateral Face Slant Height (s)), lateral_surface (Lateral Triangular Face Area), total_surface (Total Surface Area (Base + Faces)) using base_side (Square Base Side (a) in units), vertical_height (Vertical 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 'Square Pyramid Volume & Slant Height 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): "pyramid"
category (string): "geometry"
name (string): "Square Pyramid Volume & Slant Height Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.pyramid_volume (Pyramid Volume): Formatted display string (e.g. '400.0000 units³')
metrics.slant_height (Lateral Face Slant Height (s)): Formatted display string (e.g. '13.0000 units')
metrics.lateral_surface (Lateral Triangular Face Area): Formatted display string (e.g. '260.0000 units²')
metrics.total_surface (Total Surface Area (Base + Faces)): Formatted display string (e.g. '360.0000 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_pyramid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_side | No | Square Base Side (a) (units). Edge length of square base. Default: 10. Min: 0.5. Max: 1000. | |
| vertical_height | No | Vertical Height (h) (units). Height from apex to base center. Default: 12. Min: 0.5. Max: 1000. |