MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / api_list_plugins

Function api_list_plugins

backend/app/routes/tool/plugin.py:56–68  ·  view source on GitHub ↗
(
    request: Request,
    data: PluginListRequest = Depends(),
    auth_info: Dict = Depends(auth_info_required),
)

Source from the content-addressed store, hash-verified

54 response_model=BaseDataResponse,
55)
56async def api_list_plugins(
57 request: Request,
58 data: PluginListRequest = Depends(),
59 auth_info: Dict = Depends(auth_info_required),
60):
61 plugins = list_plugins(data.bundle_id)
62
63 return BaseListResponse(
64 data=[plugin.to_dict(data.lang) for plugin in plugins],
65 fetched_count=len(plugins),
66 total_count=len(plugins),
67 has_more=False,
68 )

Callers

nothing calls this directly

Calls 3

BaseListResponseClass · 0.90
list_pluginsFunction · 0.50
to_dictMethod · 0.45

Tested by

no test coverage detected