square root
square_rootCompute the square root of a non-negative number. Returns the decimal result, whether the input is a perfect square, and a simplified radical form (e.g. '√12' simplifies to '2√3'). For integer inputs, factors are extracted from under the radical sign. Useful for geometry (diagonal/hypotenuse calculations), statistics (standard deviation from variance), signal processing (RMS values), and general algebra. Chain with pythagorean_theorem for triangle side calculations.
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": {
"value": "<value>"
},
"name": "square_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The non-negative number to compute the square root of |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The square root of the input value | |
| is_perfect_square | Yes | True if the input is a perfect square integer | |
| simplified_radical | Yes | Simplified radical form (e.g. '2√3' for √12) |