import type { McpTool } from '@shared/mcp-tool/McpTool';
import { isoDateMcpToolHandler } from './internal/isoDateMcpToolHandler';
/**
* Creates and returns the IsoDate MCP tool configuration
*
* @returns Array containing the IsoDate MCP tool configuration
*/
export function createIsoDateMcpTool(): McpTool[] {
return [
{
name: 'iso-date',
description:
'Get the current date and time in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ). Returns a standardized timestamp in UTC timezone.',
outputTypes: ['text'],
handler: isoDateMcpToolHandler,
enabledInModes: ['rest', 'mcpAct'],
},
];
}