getServerTools
getServerTools(
options:ServerToolsOptions):Promise<ServerTool[]>
Defined in: src/lib/tools/serverTools.ts:362Â
Get server tools with caching support.
Flow:
- Check localStorage cache
- If cache valid and not force refresh, return cached tools
- Otherwise, fetch from API, cache, and return
- On fetch failure, return cached tools if available (stale-while-error)
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
Promise<ServerTool[]>
Last updated on