compress_context
Compress buffered messages into summaries to free up space and archive old conversation history for QQ chats.
Instructions
Compress all buffered messages for a target into a summary.
This replaces raw messages with a compressed summary, freeing up the buffer. Use this after reading context when you want to archive old messages.
Args: target: Group ID or friend QQ ID. target_type: "group" (default) or "private".
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": {
"target": "<target>"
},
"name": "compress_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| target_type | No | group |