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.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |