Context distill
context_distillDeterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function — no external calls, no ML.
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": {
"text": "The landlord demanded the deposit before the viewing. The deposit was paid before any viewing of the property."
},
"name": "context_distill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Arbitrary text to distill (any length; hashing is over the exact input). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| scope | No | ||
| valid | Yes | ||
| top_words | No | ||
| word_count | Yes | ||
| content_hash | No | ||
| first_sentence | No | ||
| meaningful_word_count | No |