MCP Rand
by turlockmike
generate_string
Generate a random string with specified length and character set
Input Schema
Name | Required | Description | Default |
---|---|---|---|
charset | No | Character set to use (alphanumeric, numeric, lowercase, uppercase, special). Defaults to alphanumeric. | |
length | No | Length 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"
}