feat: extend create command to support tool creation

Updated the CLI to allow the creation of tools in addition to crews and flows. The command now accepts a new argument type "tool" and includes appropriate error handling for invalid types. This enhancement improves the flexibility of the CLI for users managing various components.
This commit is contained in:
lorenzejay
2025-07-08 13:31:45 -07:00
parent 34a03f882c
commit 6d6cdc7844
3 changed files with 11 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ This installs the tool and adds it to `pyproject.toml`.
To create a new tool project:
```bash
crewai tool create <tool-name>
crewai create tool <tool-name>
```
This generates a scaffolded tool project locally.
@@ -95,7 +95,7 @@ Deletion is permanent. Deleted tools cannot be restored or re-installed.
## Security Checks
Every published version undergoes automated security checks, and are only available to install after they pass.
Every published version undergoes automated security checks, and are only available to install after they pass.
You can check the security check status of a tool at: