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

Function debugToolWorkflow

ui/src/api/tool/tool.ts:292–295  ·  view source on GitHub ↗
(tool_id, data)

Source from the content-addressed store, hash-verified

290 * data
291 */
292const debugToolWorkflow: (tool_id: string, data: any) => Promise<any> = (tool_id, data) => {
293 const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api'
294 return postStream(`${p}${prefix.value}/${tool_id}/debug`, data)
295}
296
297const generateCode: (data: any) => Promise<Result<any>> = (data: any) => {
298 const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api'

Callers

nothing calls this directly

Calls 1

postStreamFunction · 0.90

Tested by

no test coverage detected