compress_context
Compress context by removing irrelevant sections based on task intent, reducing token usage while preserving essential information.
Instructions
Compress context (code, docs) by removing irrelevant sections. Returns pruned context with token savings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | The context text to compress | |
| intent | Yes | What the task is about — used to determine relevance |