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
md 21 lines 647 Bytes
Rendered Raw
1 # CLI `composio dev toolkits list` Test
2
3 Verifies that `composio dev toolkits list` returns toolkits as JSON in piped mode with correct `--query` filtering behavior.
4
5 ## What It Tests
6
7 | Test | Description |
8 | --- | --- |
9 | Exact slug match | `--query gmail --limit 1` returns 1 item with slug "gmail" |
10 | Prefix search | `--query gmai --limit 1` returns 1 item (API supports prefix matching) |
11 | No fuzzy search | `--query gmal --limit 1` returns empty (backend doesn't support fuzzy search) |
12
13 ## Requirements
14
15 - `COMPOSIO_USER_API_KEY` (**required**) — Composio user API key passed to the container
16
17 ## Running
18
19 ```bash
20 pnpm test:e2e:cli
21 ```