calc_expression
Safely evaluate mathematical expressions with support for basic operations and math functions.
Supported operations: +, -, *, /, **, () Supported functions: sin, cos, tan, log, sqrt, abs, pow
Note: Use this tool to evaluate a single mathematical expression. To compute descriptive statistics over a list of numbers, use the statistics tool instead.
Examples:
- "2 + 3 * 4" → 14
- "sqrt(16)" → 4.0
- "sin(3.14159/2)" → 1.0