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

Function detail

ui/src/api/tools.ts:39–41  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

37 },
38
39 async detail(name: string): Promise<ToolDetail> {
40 return fetchJson(`/api/tools/${encodeURIComponent(name)}`)
41 },
42
43 async execute(name: string, input: Record<string, unknown>): Promise<ExecuteResult> {
44 return fetchJson(`/api/tools/${encodeURIComponent(name)}/execute`, {

Callers

nothing calls this directly

Calls 1

fetchJsonFunction · 0.90

Tested by

no test coverage detected