generate_random_string
Generate a random string of specified length using various character sets like alphanumeric, letters, digits, hex, or ASCII.
Instructions
Generate a random string.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_random_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Length of string to generate (default: 16) | |
| charset | No | Character set - 'alphanumeric', 'letters', 'digits', 'hex', 'ascii' (default: alphanumeric) | alphanumeric |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |