kernel_research_digest
Summarize large tool outputs or inline lists without loading raw rows: rank to top-k, chunk, run bounded map-reduce, and return a grounded digest with citations.
Instructions
Summarize a large source (a kernel tool's output or an inline list) WITHOUT loading the raw rows into your context. Ranks to top-k (when query set), chunks, runs a bounded map-reduce with concurrency + cooldown caps, and returns a grounded digest with citations. Use this instead of listing a big inventory and summarizing it yourself.
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": {
"source": "<source>",
"map_instruction": "<map_instruction>",
"reduce_instruction": "<reduce_instruction>"
},
"name": "kernel_research_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | No | If set, rank the source to top-k before digesting. | |
| id_key | No | Field to use as item id (default: id). | |
| source | Yes | ||
| text_key | No | Field to use as item text (default: title/name/text/body or JSON). | |
| max_items | No | ||
| chunk_size | No | ||
| concurrency | No | ||
| cooldown_ms | No | ||
| map_instruction | Yes | How to summarize each chunk. | |
| reduce_instruction | Yes | How to combine chunk summaries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | Yes | ||
| tokens | Yes | ||
| degraded | Yes | ||
| citations | Yes | ||
| chunks_failed | Yes | ||
| items_truncated | Yes | ||
| chunks_processed | Yes |