get_cache_info
Check the status of the persistent device cache to determine if a rescan is needed. Returns cache age, expiration status, and device count.
Instructions
Get information about the persistent device cache.
Returns information about the cache file including age, expiration status, and device count. Useful for determining if a rescan is needed.
Returns
Dictionary containing:
- exists: Whether cache file exists
- path: Path to cache file
- age_seconds: Age of cache in seconds
- expired: Whether cache has expired
- device_count: Number of devices in cache
- ttl_seconds: Time-to-live for cache entriesInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||