feat(cli): add composio tools command with list, info, search subcommands#2669
Merged
feat(cli): add composio tools command with list, info, search subcommands#2669
composio tools command with list, info, search subcommands#2669Conversation
…mmands Implements PLEN-1583. Agents and developers can now discover, search, and inspect Composio tools directly from the CLI. Subcommands: - `composio tools list` — list tools with --toolkits, --search, --tags, --limit filters - `composio tools info <slug>` — view tool details including input/output JSON schemas - `composio tools search <query>` — search tools by use case with optional --toolkits scope Service layer: - Add searchTools() and getToolDetailed() to ComposioToolkitsRepository - Extract buildToolsNamespace() helper for tools API methods - Add ToolDetailedResponse schema for retrieve endpoint - Pass-through in cached repository layer Tests: - 18 new tests covering list, info, search with various filter combinations - Updated default command snapshots to include tools subcommands
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Rename --search to --query on `tools list` for consistency with `toolkits list` - Remove dead code path in formatSchemaProperties (unreachable entries.length check) - Enrich getToolDetailed mock to derive toolkit slug from tool slug prefix - Add --tags filter test for `tools list` - Add assertion for toolkit hint in `tools info` test - Add tags filtering support to searchTools mock - Add VHS recording entries for tools subcommands
Contributor
|
The Please review and fix the vulnerabilities. You can try running: pnpm audit --fix --prodAudit output |
The recording used `--search` but the actual CLI option is `--query`
(via `Options.text('query')`). Also regenerated all recordings.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
ts/packages/cli/recordings/ascii/toolkits/list-query-gmail-limit-1.ascii
Outdated
Show resolved
Hide resolved
haxzie
approved these changes
Feb 19, 2026
Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR:
composio login#2666composio tools listwith--toolkits,--search,--tags,--limitfilters for tool discoverycomposio tools info <slug>displaying name, description, tags, and formatted input/output JSON schemascomposio tools search <query>with optional--toolkitsscoping for quick semantic searchComposioToolkitsRepositorywithsearchTools()(single-page) andgetToolDetailed()(retrieve)buildToolsNamespace()helper fromComposioClientLiveto stay under max-lines-per-function lint rule