Clear Data Cache
clear_data_cacheRemoves all cached artifacts from disk to free up space. Requires user confirmation before clearing.
Instructions
Clear the MCP server's local data cache. Removes all cached artifacts from disk.
Args:
confirmed (boolean, optional): Set to true after the user explicitly confirms cache clearing
Returns: { deleted: boolean, fileCount: number, totalBytes: number, message: string }
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_data_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | No | Set to true after the user explicitly confirms the cache clearing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sizeMB | No | ||
| deleted | No | ||
| message | No | ||
| fileCount | No | ||
| totalBytes | No |