compress_conversation
Compress lengthy conversations to preserve essential context, reducing token usage for efficient processing. Adjust quality and reasoning effort to balance detail and cost.
Instructions
Prepare conversation compression while preserving required context.
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": {
"conversation": "<conversation>"
},
"name": "compress_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | economy | |
| conversation | Yes | ||
| reasoning_effort | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |