polygonal_number
Calculate polygonal numbers for given parameters to solve figurate number problems in arithmetic contexts.
Instructions
Calculate the nth s-gonal (polygonal) number. (Domain: arithmetic, Category: figurate_numbers)
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>",
"s": "<s>"
},
"name": "polygonal_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| s | Yes |