advanced_math
Perform advanced mathematical calculations including trigonometry, logarithms, exponentials, factorials, and powers. Handles degrees/radians and enforces domain rules.
Instructions
Perform advanced mathematical functions (trigonometry, logarithms, etc.).
Trig functions accept unit='degrees' to convert the input; inverse trig
functions return degrees when unit='degrees'. pow uses exponent.
Domain rules: log/ln require positive input, sqrt non-negative, factorial a
non-negative integer <= 170, exp argument <= 700.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"function": "<function>",
"value": "<value>"
},
"name": "advanced_math"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| value | Yes | ||
| exponent | No | Exponent, used only by 'pow'. | |
| function | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||