Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 04:45 UTC
| 1 | import { Argument, Command } from 'effect/cli'; |
| 2 | import { runToolsInfo } from './tools.info.handler'; |
| 3 | |
| 4 | const slug = Argument.String('slug').pipe( |
| 5 | Argument.withDescription('Tool slug (e.g. "GMAIL_SEND_EMAIL")'), |
| 6 | Argument.optional |
| 7 | ); |
| 8 | |
| 9 | export const toolsCmd$Info = Command.make('info', { slug }, runToolsInfo).pipe( |
| 10 | Command.withDescription( |
| 11 | 'View a brief summary of a tool and show the CLI-facing input schema used by `composio execute`.' |
| 12 | ) |
| 13 | ); |