compute_pi_nilakantha
Calculate the mathematical constant pi to a specified precision using the Nilakantha series approximation method.
Instructions
Compute pi using the Nilakantha series: π = 3 + 4/(2×3×4) - 4/(4×5×6) + 4/(6×7×8) - ... (Domain: arithmetic, Category: mathematical_constants)
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": {
"terms": "<terms>"
},
"name": "compute_pi_nilakantha"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes |