switch_clear_cache
Delete locally cached monthly summaries so they are fetched again when past-month playtime or summary data looks stale; optionally filter by device, year, or month without contacting Nintendo.
Instructions
Delete the local copies of past monthly summaries, so they are fetched again.
Use it when switch_get_monthly_summary or switch_get_playtime show old or unexpected numbers for a past month; for a single call, skip_cache=true on those tools does the same without deleting anything. Without arguments it clears everything, or only one device, year or month. It does not contact Nintendo and changes nothing on the console.
Returns "✓ Cleared cached file(s)." or "No cached files found matching the given filters."
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": "switch_clear_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Limit clearing to this year. Omit to clear all years. | |
| month | No | Limit clearing to this month (1-12). Requires year to be set. | |
| device_id | No | Limit clearing to this device ID. Omit to clear cache for all devices. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |