cache_clear
Clears all cached data to ensure fresh, up-to-date responses from the Meraki Dashboard API.
Instructions
Clear all cached data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- meraki-mcp-dynamic.py:640-647 (handler)The tool handler for 'cache_clear'. It is decorated with @mcp.tool() (registration) and calls cache.clear() to clear all cached data, returning a success JSON response.
@mcp.tool() async def cache_clear() -> str: """Clear all cached data""" cache.clear() return json.dumps({ "status": "success", "message": "Cache cleared successfully" }, indent=2) - meraki-mcp-dynamic.py:640-641 (registration)The @mcp.tool() decorator registers 'cache_clear' as an MCP tool on the FastMCP server instance.
@mcp.tool() async def cache_clear() -> str: