@devries-cameron20 / composio-1 / commits / e07d1b454
Fork 0

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

feat(cli): default to empty object when no -d provided, use -d "{}" in search CTA (#2847)

## Summary - **Execute command**: Default to empty object `{}` when no `-d`/`--data` or piped stdin is provided. Fixes "Missing JSON input" error when running `composio execute TOOL` without arguments. - **Search CTA**: Use `-d "{}"` (double-quoted, shell-safe) for tools with no schema properties instead of `-d '{}'`. ## Changes - `tools.execute.cmd.ts`: When `data` option is None and stdin is not piped, default to `"{}"` instead of failing - `tools.search.cmd.ts`: Use `-d "{}"` when payload is empty for schema-less tools - Added tests for both behaviors - Updated changeset Made with [Cursor](https://cursor.com)

Alberto Schiabel committed Mar 20, 2026 at 17:33 UTC e07d1b454b34beecfd53b93517bb87aa1aabc8e4

No changes.