square_numbers
Generate the first n square numbers (1, 4, 9, 16, 25, ...) using the formula n². This tool calculates square numbers for arithmetic and mathematical computations.
Instructions
Generate the first n square numbers (1, 4, 9, 16, 25, ...). nth square number = 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": "square_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |