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

next
ts 19 lines 684 Bytes
Raw
1 import { withCommandMeta } from 'src/invocation/command-identity';
2 import { Command } from 'effect/cli';
3 import { toolsCmd$List } from './list/tools.list.cmd';
4 import { toolsCmd$Info } from './info/tools.info.cmd';
5 import { withRegisteredSubcommands } from 'src/commands/registration';
6
7 export const rootToolsCmd = Command.make('tools').pipe(
8 Command.withDescription('Browse and inspect tools before executing them.'),
9 Command.withExamples([
10 {
11 command: 'composio tools list gmail',
12 },
13 {
14 command: 'composio tools info GMAIL_SEND_EMAIL',
15 },
16 ]),
17 withRegisteredSubcommands([toolsCmd$List, toolsCmd$Info]),
18 withCommandMeta({ requiresLogin: true })
19 );