generate_password
Create a secure random password with customizable length and optional special characters. Ensures complexity with lowercase, uppercase, digits, and special characters if enabled.
Instructions
Generate a random password with specified length, optionally including special characters. The password will meet the complexity requirements of at least one lowercase letter, one uppercase letter, and two digits. If special characters are included, it will also contain at least one such character. Until the password meets these requirements, it will keep regenerating. This is a simple example of a tool that can be used to generate passwords. It is not intended for production use.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
length | No | The length of the password to generate (between 8 and 64 characters). | |
use_special_chars | No | Include special characters in the password. |