MCPcopy Create free account
hub / github.com/Autoanys/Autoanys / plugin_handler

Function plugin_handler

backend/routers/plugins.py:18–20  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

16 arguments = plugin.get("arguments", {})
17
18 def plugin_handler(**kwargs):
19 exec(coding, globals(), locals())
20 return eval(return_value)
21
22 if method == "get":
23 router.add_api_route(endpoint, plugin_handler, methods=["GET"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected