is_polygonal_number
Determine if a number is a polygonal (s-gonal) number by testing its mathematical properties for given parameters.
Instructions
Check if a number is an s-gonal 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": {
"num": "<num>",
"s": "<s>"
},
"name": "is_polygonal_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | Yes | ||
| s | Yes |