MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / debugToolWorkflow

Function debugToolWorkflow

ui/src/api/system-shared/tool.ts:271–274  ·  view source on GitHub ↗
(tool_id, data)

Source from the content-addressed store, hash-verified

269 * data
270 */
271const debugToolWorkflow: (tool_id: string, data: any) => Promise<any> = (tool_id, data) => {
272 const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api'
273 return postStream(`${p}${prefix}/${tool_id}/debug`, data)
274}
275
276/**
277 * 保存工具工作流

Callers

nothing calls this directly

Calls 1

postStreamFunction · 0.90

Tested by

no test coverage detected