Clear
clearEmpty the cache to recover from stale cache state. Drops all cached file entries and returns the number removed; next read re-seeds from disk, leaving project files untouched.
Instructions
Empty the cache. Does not touch any project file.
Removes every cached file entry and returns how many were dropped; the
next read/batch_read re-seeds from disk. Use rarely — only to recover
from stale cache state or force a cold re-seed. Normal reads already
refresh changed files on their own, so this is seldom needed. Takes no
arguments.
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": "clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||