sqrt
Calculate the square root of a given number with optional precision control. Leverages PARI/GP for accurate results.
Instructions
Compute square root.
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": {
"x": "<x>"
},
"name": "sqrt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Number. | |
| precision | No | Optional precision. |