fibonacci_sequence
Generate Fibonacci numbers and optionally check whether a given number belongs to the Fibonacci sequence.
Instructions
Generate Fibonacci numbers and optionally check if a number is Fibonacci.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fibonacci_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many Fibonacci numbers (1-100, default 10). | |
| check | No | Optional number to test if it is a Fibonacci number. |