clear_old_data
Remove conversations, file events, and memories older than a specified number of days, optionally limited to one project, to manage retained history.
Instructions
清理指定天数之前的历史数据(对话、文件事件、记忆)
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": {
"olderThanDays": "<olderThanDays>"
},
"name": "clear_old_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | 项目名称(可选,不传则清理全部) | |
| olderThanDays | Yes | 清理多少天之前的数据(例如 30 表示清理 30 天前的数据) |