get_tokens
Retrieve tokenized EEG data from a session for sequence modeling, returning grouped tokens per window, a flat sequence, vocabulary size, and channel/band layout.
Instructions
Read discrete tokens from a tokenizing processor.
For feeding EEG into sequence models. Returns both the grouped tokens (one group per window) and a flat sequence, plus the vocabulary size and the channel/band layout each position corresponds to.
Works with any attached processor exposing token_history -- the built-in
band_tokenizer is a starting point, and your own tokenizer plugs in the
same way.
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": {
"session_id": "<session_id>"
},
"name": "get_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent token groups to return. | |
| processor | No | The tokenizing processor's name. | band_tokenizer |
| session_id | Yes | The session to read from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||