Function
list_tools
(
_auth: AuthContext = Depends(require_tool_scope),
service: ToolsService = Depends(get_service),
)
Source from the content-addressed store, hash-verified
| 179 | |
| 180 | @router.get("/tools") |
| 181 | async def list_tools( |
| 182 | _auth: AuthContext = Depends(require_tool_scope), |
| 183 | service: ToolsService = Depends(get_service), |
| 184 | ): |
| 185 | return await _run(service.get_tool_list) |
| 186 | |
| 187 | |
| 188 | @router.patch("/tools/{tool_id:path}/enabled") |
Callers
nothing calls this directly
Tested by
no test coverage detected