MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / load

Function load

ui/src/api/tools.ts:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26export const toolsApi = {
27 async load(): Promise<ToolsResponse> {
28 return fetchJson('/api/tools')
29 },
30
31 async update(disabled: string[]): Promise<{ disabled: string[] }> {
32 return fetchJson('/api/tools', {

Callers

nothing calls this directly

Calls 1

fetchJsonFunction · 0.90

Tested by

no test coverage detected