math_fibonacci
Compute the nth Fibonacci number using zero-based indexing, and return an error for negative inputs.
Instructions
Return the nth Fibonacci number (0-indexed). Returns an error if n is negative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |