search_by_terms
Search the OEIS database by entering a sequence of integer terms to find matching sequences. For instance, input [1,1,2,3,5,8] retrieves the Fibonacci sequence.
Instructions
Search OEIS sequences by providing integer terms.
For example, searching [1,1,2,3,5,8] will find the Fibonacci sequence.
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": {
"terms": "<terms>"
},
"name": "search_by_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | List of integers to search for (e.g., [1,1,2,3,5,8]) | |
| max_results | No | Maximum number of results to return (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |