mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
feat: add API endpoint to fetch list of available tools and corresponding request model
This commit is contained in:
@ -282,3 +282,11 @@ class TriggerDispatchResponse(BaseModel):
|
||||
return deserialize_response(binascii.unhexlify(v.encode()))
|
||||
except Exception as e:
|
||||
raise ValueError("Failed to deserialize response from hex string") from e
|
||||
|
||||
|
||||
class RequestListTools(BaseModel):
|
||||
"""
|
||||
Request to list all available tools
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user