power
Calculate the result of raising a base number to a given exponent. Use this for exponentiation, powers, and repeated multiplication in math expressions.
Instructions
Calculate base raised to the power of exponent (乘方).
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": {
"base": "<base>",
"exponent": "<exponent>"
},
"name": "power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| exponent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |