MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / get_composio_apps

Method get_composio_apps

methods/letta/server/server.py:1348–1357  ·  view source on GitHub ↗

Get a list of all Composio apps with actions

(self, api_key: Optional[str] = None)

Source from the content-addressed store, hash-verified

1346 return Composio()
1347
1348 def get_composio_apps(self, api_key: Optional[str] = None) -> List["AppModel"]:
1349 """Get a list of all Composio apps with actions"""
1350 apps = self.get_composio_client(api_key=api_key).apps.get()
1351 apps_with_actions = []
1352 for app in apps:
1353 # A bit of hacky logic until composio patches this
1354 if app.meta["actionsCount"] > 0 and not app.name.lower().endswith("_beta"):
1355 apps_with_actions.append(app)
1356
1357 return apps_with_actions
1358
1359 def get_composio_actions_from_app_name(self, composio_app_name: str, api_key: Optional[str] = None) -> List["ActionModel"]:
1360 actions = self.get_composio_client(api_key=api_key).actions.get(apps=[composio_app_name])

Callers 1

list_composio_appsFunction · 0.80

Calls 2

get_composio_clientMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected