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

Function list_plugins

plugin/app/cache/plugin.py:81–94  ·  view source on GitHub ↗

List plugins. :param bundle_id: the bundle id to filter by. :return: a list of plugins.

(bundle_id: Optional[str])

Source from the content-addressed store, hash-verified

79
80
81def list_plugins(bundle_id: Optional[str]) -> List[Plugin]:
82 """
83 List plugins.
84
85 :param bundle_id: the bundle id to filter by.
86 :return: a list of plugins.
87 """
88
89 # Filter by bundle_id and type
90 if bundle_id:
91 filtered_schemas = [schema for schema in __bundle_plugin_list.get(bundle_id, [])]
92 return filtered_schemas
93
94 return __plugins
95
96
97def get_plugin(bundle_id, plugin_id: str) -> Optional[Plugin]:

Callers 1

api_list_pluginsFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected