feat: add API endpoint to fetch list of available tools and corresponding request model

This commit is contained in:
Harry
2026-01-02 15:00:42 +08:00
parent cf7e2d5d75
commit 3842eade67
2 changed files with 58 additions and 0 deletions

View File

@ -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