Search Sequence
search_sequenceSearch the OEIS (On-Line Encyclopedia of Integer Sequences), the authoritative database of integer sequences. Identify a sequence from its first terms by passing a comma-separated list of integers (e.g. "1,1,2,3,5,8" finds the Fibonacci numbers), look up a specific sequence by A-number (e.g. "A000045"), or search free-text keywords (e.g. "prime gaps"). Returns up to 10 matching sequences per page with their A-number, name, terms, keywords, author, and offset. Use the start argument to paginate (10 results at a time).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "1,1,2,3,5,8"
},
"name": "search_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A comma-separated list of integers (e.g. "1,1,2,3,5,8"), an A-number (e.g. "A000045"), or free-text keywords (e.g. "prime gaps"). | |
| start | No | Pagination offset; results come 10 at a time. Default 0. |