calculate_fibonacci
Compute the nth Fibonacci number from the sequence to analyze complex mathematical operations. Use this tool for precise Fibonacci calculations with detailed results.
Instructions
Calculate the nth Fibonacci number.
This is a more computationally intensive example that demonstrates
how tools can handle more complex operations.
Args:
n: The position in the Fibonacci sequence (must be >= 0)
Returns:
Dictionary containing the Fibonacci number and calculation info
Input Schema
Name | Required | Description | Default |
---|---|---|---|
n | Yes |
Input Schema (JSON Schema)
{
"properties": {
"n": {
"title": "N",
"type": "integer"
}
},
"required": [
"n"
],
"title": "calculate_fibonacciArguments",
"type": "object"
}