square_root
Calculates the principal square root of a non-negative number, returning an error if the input is negative.
Instructions
Compute the square root of a number.
Args: value: The number to take the square root of. Must be non-negative.
Returns: A string with the square root of value, or an error message if value is negative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |