agm
Compute the arithmetic-geometric mean of two numbers with adjustable precision.
Instructions
Compute the arithmetic-geometric mean.
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": "agm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | First number. | |
| y | No | Second number (if None, uses x and 1). | |
| precision | No | Optional precision. |