clear_cache
Clear cached legal data to ensure accurate search results from the e-Gov Law MCP Server. Remove outdated law lookups, content, or articles to maintain data integrity.
Instructions
Clear specified cache or all caches
Args:
cache_type: Cache type to clear ("all", "law_lookup", "law_content", "article")
ctx: FastMCP context for logging
Returns:
Dict with clear operation results
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_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_type | No | all |