Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(cli): align formatToolkitInfoJson output with e2e test expectations

jkomyno9c61432384e2
diff --git a/ts/packages/cli/src/commands/toolkits/format.ts b/ts/packages/cli/src/commands/toolkits/format.ts
index a42966bbe..14ce807f5 100644
--- a/ts/packages/cli/src/commands/toolkits/format.ts
+++ b/ts/packages/cli/src/commands/toolkits/format.ts
@@ -114,10 +114,13 @@ export function formatToolkitInfoJson(toolkit: SessionToolkitItem): string {
{
name: toolkit.name,
slug: toolkit.slug,
- description: toolkit.meta.description,
+ meta: {
+ description: toolkit.meta.description,
+ logo: toolkit.meta.logo,
+ },
is_no_auth: toolkit.is_no_auth,
enabled: toolkit.enabled,
- connected: toolkit.connected_account
+ connected_account: toolkit.connected_account
? {
status: toolkit.connected_account.status,
id: toolkit.connected_account.id,