feat: in tools fetch mcp

This commit is contained in:
Joel
2025-05-27 15:09:44 +08:00
parent 4d565819f9
commit 8d2238d631
5 changed files with 20 additions and 0 deletions

View File

@ -124,6 +124,10 @@ export const fetchAllWorkflowTools = () => {
return get<ToolWithProvider[]>('/workspaces/current/tools/workflow')
}
export const fetchAllMCPTools = () => {
return get<ToolWithProvider[]>('/workspaces/current/tools/mcp')
}
export const fetchLabelList = () => {
return get<Label[]>('/workspaces/current/tool-labels')
}