MCP Rand

generate_string

Generate a random string with specified length and character set

Input Schema

NameRequiredDescriptionDefault
charsetNoCharacter set to use (alphanumeric, numeric, lowercase, uppercase, special). Defaults to alphanumeric.
lengthNoLength of the string to generate. Defaults to 10.

Input Schema (JSON Schema)

{ "properties": { "charset": { "description": "Character set to use (alphanumeric, numeric, lowercase, uppercase, special). Defaults to alphanumeric.", "enum": [ "alphanumeric", "numeric", "lowercase", "uppercase", "special" ], "type": "string" }, "length": { "description": "Length of the string to generate. Defaults to 10.", "type": "number" } }, "type": "object" }