generate_nanoid
Generate NanoIDs: compact, URL-friendly unique identifiers. Customize length (1-128) and count (1-100) for use in tokens, keys, or slugs.
Instructions
Generate a NanoID — a compact, URL-friendly unique ID.
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_nanoid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Length of the NanoID (1-128, default: 21) | |
| count | No | Number of IDs to generate (1-100, default: 1) |