geometric_series
Compute finite or infinite sums of a geometric series from the first term, common ratio, and number of terms.
Instructions
Calculate finite and infinite sums of a geometric series: a, ar, ar^2, ...
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": {
"a": "<a>",
"r": "<r>",
"n": "<n>"
},
"name": "geometric_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First term. | |
| n | Yes | Number of terms (1-1000). | |
| r | Yes | Common ratio. |