clean_cache
Clear runtime cache to free disk space after long sessions or wipe prediction history before a new round, keeping game data clean for the agent.
Instructions
清理运行期缓存。
入参:target 取 all(默认,清全部)/ predict(只清预判历史)/ frames(只清临时帧目录)。 返回:清理结果文本。 用途:长时间运行后释放磁盘;换局前保证预判数据干净。 下一步:清完预判历史后重新连续 perceive_game 积累帧;长时间运行前可先清 frames 省磁盘。
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": "clean_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |