Class PasswordGenerateTool
A built-in tool for generating secure passwords, memorable passwords, and passphrases.
Supports random, memorable, and passphrase generation styles with configurable character sets.
public sealed class PasswordGenerateTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
PasswordGenerateTool
- Implements
- Inherited Members
Examples
var tool = new PasswordGenerateTool();
registry.Register(tool);
// Agent can now: generate random passwords, memorable passwords, and passphrases
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.