Reload a bundle from disk
okf_reload_bundleClears cached bundle data so subsequent tool calls re-read files from disk. Use after editing bundles to ensure fresh results, or omit the path to drop all cached copies.
Instructions
Drop the cached copy of a bundle so the next call re-reads it from disk.
Bundles are cached per path for speed. Call this after editing files, otherwise subsequent tools keep answering from the version loaded earlier.
Args:
bundle_path (string, optional): bundle to drop; omit to drop every cached bundle
Returns: { "cleared": number } // how many cached bundles were dropped
Examples:
Use when: you have just written to a bundle and want fresh results
Don't use when: you have only been reading (the cache is already correct)
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": "okf_reload_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle_path | No | Bundle to drop; omit for all |