MCPcopy
hub / github.com/1Panel-dev/MaxKB / downloadSkillFile

Function downloadSkillFile

ui/src/api/system-shared/tool.ts:203–208  ·  view source on GitHub ↗
(
  tool_id,
  loading,
)

Source from the content-addressed store, hash-verified

201}
202
203const downloadSkillFile: (tool_id: string, loading?: Ref<boolean>) => Promise<Result<any>> = (
204 tool_id,
205 loading,
206) => {
207 return download(`${prefix}/${tool_id}/download_skill_file`, 'GET', undefined, undefined, loading)
208}
209
210const generateCode: (data: any) => Promise<Result<any>> = (
211 data: any,

Callers

nothing calls this directly

Calls 1

downloadFunction · 0.90

Tested by

no test coverage detected