geometric_sum
Calculate the sum of finite or infinite geometric sequences using the first term and common ratio. Supports both finite series and infinite convergent series when |r| < 1.
Instructions
Calculate the sum of a geometric sequence. For |r| < 1, can calculate infinite series sum. (Domain: arithmetic, Category: general)
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": {
"first_term": "<first_term>",
"common_ratio": "<common_ratio>"
},
"name": "geometric_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first_term | Yes | ||
| common_ratio | Yes | ||
| num_terms | No |