distill_context
Extract key entities, metrics, and keywords from raw text into a compact structured summary, reducing token usage by over 95%.
Instructions
Cognitive context distiller and entity extractor. Distills dense structured entities, numerical metrics, and salient keywords from raw text at zero cloud LLM token cost. Compresses 5,000+ words into ~150 structured tokens (>95% compression).
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": {
"raw_text": "<raw_text>"
},
"name": "distill_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_text | Yes | Raw article, transcript, or document text to distill. | |
| max_keywords | No | Maximum number of keywords to extract (default: 5). |