MCPcopy Index your code
hub / github.com/google/adk-python / list_apps

Method list_apps

src/google/adk/cli/api_server.py:1058–1066  ·  view source on GitHub ↗
(
        detailed: bool = Query(
            default=False, description="Return detailed app information"
        )
    )

Source from the content-addressed store, hash-verified

1056
1057 @app.get("/list-apps")
1058 async def list_apps(
1059 detailed: bool = Query(
1060 default=False, description="Return detailed app information"
1061 )
1062 ) -> list[str] | ListAppsResponse:
1063 if detailed:
1064 apps_info = self.agent_loader.list_agents_detailed()
1065 return ListAppsResponse(apps=[AppInfo(**app) for app in apps_info])
1066 return self.agent_loader.list_agents()
1067
1068 @experimental
1069 @app.get("/apps/{app_name}/app-info", response_model_exclude_none=True)

Callers

nothing calls this directly

Calls 4

ListAppsResponseClass · 0.85
AppInfoClass · 0.85
list_agents_detailedMethod · 0.45
list_agentsMethod · 0.45

Tested by

no test coverage detected