jp_lit_prune_cache
Remove old cached search results from Japanese literature databases. Preview candidates with dry run, then delete outdated cache entries to free space.
Instructions
delete when dry_run=false。古いローカル cache 候補を列挙し、既定の dry_run=true では削除せず候補だけ返す。dry_run=false のときだけ older_than_days と limit に一致する cache を削除する。個別 cache_key を削除する場合は jp_lit_delete_cache、一覧確認だけなら jp_lit_list_cache を使う
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| older_than_days | No | この日数より古い cache を prune 候補にする。 | |
| tool | No | 対象 tool cache 名。未指定なら全 tool cache を対象にする。 | |
| dry_run | No | true なら削除せず候補だけ返す。false のときだけ実際に古い cache を削除する。 | |
| limit | No | 列挙または削除する候補の最大件数。最大 1000。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| older_than_days | Yes | ||
| cutoff_saved_at | Yes | ||
| tool | Yes | ||
| limit | Yes | ||
| matched_count | Yes | ||
| pruned_count | Yes | ||
| total_bytes | Yes | ||
| candidates | Yes | ||
| skipped_count | Yes | ||
| skipped | Yes | ||
| message | Yes |