clear_cache
Clear cached document data to free up memory and ensure fresh content access. Remove specific file cache or clear all cached files to resolve outdated content issues.
Instructions
Clear document cache.
Args:
file_path: Optional file path to clear; if None, clears all cache
Returns:
Success message
Example:
# Clear specific file
clear_cache(file_path="/path/to/document.md")
# Clear all cache
clear_cache()
@REQ: REQ-rbt-mcp-tool
@BP: BP-rbt-mcp-tool
@TASK: TASK-015-ClearCacheTool-Server-Setup
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | No |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "File Path"
}
},
"type": "object"
}