cortex_prompt_lookup
Drafts speculative tokens by matching trailing n-gram windows in a prompt token sequence to accelerate local LLM decoding.
Instructions
Parameter-free greedy prompt-lookup speculative token drafter (mojond engine) matching trailing n-gram windows.
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": {
"tokens": "<tokens>"
},
"name": "cortex_prompt_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes | Prompt token sequence | |
| max_ngram | No | ||
| draft_budget | No |