Summary
The tool registry (core/registry.py) discovers and stores tool definitions in _TOOL_DEFINITIONS, exposed through get_tool_definitions() (line ~177). The frontend has no way to list which tools Friday currently knows about.
Goal
Add a read-only GET /api/v1/tools endpoint in desktop/api_server.py that returns the list of tool names + descriptions from core.registry.get_tool_definitions().
Tasks
- Add the route with @require_auth
- Return { tools: [{name, description}] }
- Add tests in ests/test_api_server.py under a new TestTools class
Acceptance criteria
Labels
good first issue, help wanted
Summary
The tool registry (core/registry.py) discovers and stores tool definitions in _TOOL_DEFINITIONS, exposed through get_tool_definitions() (line ~177). The frontend has no way to list which tools Friday currently knows about.
Goal
Add a read-only GET /api/v1/tools endpoint in desktop/api_server.py that returns the list of tool names + descriptions from core.registry.get_tool_definitions().
Tasks
Acceptance criteria
Labels
good first issue, help wanted