raw_archive
Archives expired raw messages by exporting them to gzip shards and clearing their bodies while preserving IDs, senders, and anchors; use dryRun to preview backlog.
Instructions
把超过保留期的原文导出成 gzip 分片并清空正文(保留 msgId/发送者/锚点)。先落盘再改库,可先用 dryRun 看积压。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "raw_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| dryRun | No | ||
| platform | No | ||
| sessionId | No |