context_diet
Context Diet: shrink a packet before it fills your context: drops empty fields, dedupes lists, cuts long strings to a head + sha256 pointer, caps list length, always keeps required fields; reports bytes and approximate tokens saved. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/context-diet, $0.001 via x402.)
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": {
"packet": "<packet>"
},
"name": "context_diet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packet | Yes | ||
| required | No | ||
| max_list_items | No | ||
| max_string_chars | No |