import type { McpTool } from '@shared/mcp-tool/McpTool';
import { GenerateUniqueIdInputSchema } from './internal/GenerateUniqueIdInputSchema';
import { generateUniqueIdMcpToolHandler } from './internal/generateUniqueIdMcpToolHandler';
/**
* Creates and returns the GenerateUniqueId MCP tool configuration
*
* @returns Array containing the GenerateUniqueId MCP tool configuration
*/
export function createGenerateUniqueIdMcpTool(): McpTool[] {
return [
{
name: 'generate-unique-id',
description:
'Generate one or more 8-digit hexadecimal unique identifiers. Useful for creating unique references, IDs, or tracking numbers. Optionally specify count (1-32).',
inputSchema: GenerateUniqueIdInputSchema,
inputSchemaName: 'GenerateUniqueIdInputSchema',
outputTypes: ['text'],
handler: generateUniqueIdMcpToolHandler,
enabledInModes: ['rest', 'mcpAct'],
},
];
}