Power
powerRaise a base to a chosen exponent, including fractional or negative values, to compute exponentiation, square roots, and reciprocals in calculations.
Instructions
Raise a base to a given 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 | The number to be raised to a power. | |
| exponent | Yes | The power to raise ``base`` to. Can be fractional (e.g. ``0.5`` for square root) or negative (for reciprocal powers). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |