MCPcopy
hub / github.com/AstrBotDevs/AstrBot / list_dashboard_tools

Function list_dashboard_tools

astrbot/dashboard/api/tools.py:325–329  ·  view source on GitHub ↗
(
    _username: str = Depends(require_dashboard_user),
    service: ToolsService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

323
324@legacy_router.get("/tools/list")
325async def list_dashboard_tools(
326 _username: str = Depends(require_dashboard_user),
327 service: ToolsService = Depends(get_service),
328):
329 return await _run(service.get_tool_list)
330
331
332@legacy_router.post("/tools/toggle-tool")

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected