mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
feat: fetch tools and set tools enabled from api
This commit is contained in:
@ -80,3 +80,23 @@ export const workflowDraftUpdateFeaturesContract = base
|
||||
}
|
||||
}>())
|
||||
.output(type<CommonResponse>())
|
||||
|
||||
export const workflowDraftNodeSkillsContract = base
|
||||
.route({
|
||||
path: '/apps/{appId}/workflows/draft/nodes/{nodeId}/skills',
|
||||
method: 'GET',
|
||||
})
|
||||
.input(type<{
|
||||
params: {
|
||||
appId: string
|
||||
nodeId: string
|
||||
}
|
||||
}>())
|
||||
.output(type<{
|
||||
node_id: string
|
||||
tool_dependencies: {
|
||||
type: string
|
||||
provider: string
|
||||
tool_name: string
|
||||
}[]
|
||||
}>())
|
||||
|
||||
Reference in New Issue
Block a user