calculator.calculate
Evaluates arithmetic expressions (e.g., addition, subtraction, multiplication, division, modulo, exponentiation). Provide an expression like '(12.5 + 7.5) * 2' to get the numeric result.
Instructions
计算一个基础算术表达式。当用户询问加减乘除、取模或乘方结果时调用。expression 示例:(12.5 + 7.5) * 2。仅计算,不执行代码。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||