cache_clear
Clear cached data from a specific table, or remove all cached data when no table is specified. Ensures subsequent requests retrieve fresh, updated market information.
Instructions
Clear cached data.
Offloaded to a worker thread (see _cache_clear_impl): this does a
bulk DELETE, and the official mcp SDK runs sync tool bodies directly on
the event loop (see health_check's docstring for why an explicit
offload is needed here).
Args: table: Table name to clear. Clears all tables when omitted.
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": "cache_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||