Generate UUIDs
generate_uuidGenerate cryptographically secure UUIDs. Choose version 4 for random IDs or version 7 for time-ordered IDs that sort chronologically, ideal for database primary keys.
Instructions
Generates one or more UUIDs using a cryptographically secure random source. Version 4 is fully random; version 7 (RFC 9562) embeds a millisecond timestamp so the values sort chronologically, which makes them well suited to database primary keys.
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_uuid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many to generate (1-256). | |
| version | No | 4 for random UUIDs, 7 for time-ordered UUIDs that sort chronologically. |