harmonic_series
Calculate the nth partial sum of the harmonic series: 1 + 1/2 + 1/3 + ... + 1/n. Input an integer n to compute the sum of reciprocals up to that term.
Instructions
Calculate the nth partial sum of the harmonic series: 1 + 1/2 + 1/3 + ... + 1/n. (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": {
"n": "<n>"
},
"name": "harmonic_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |