UNPKG

@unified-llm/core

Version:

Unified LLM interface (in-memory).

20 lines 613 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getCurrentTime = void 0; const unified_api_js_1 = require("../types/unified-api.js"); exports.getCurrentTime = (0, unified_api_js_1.defineTool)({ type: 'function', function: { name: 'getCurrentTime', description: 'Returns the current date and time in ISO format', parameters: { type: 'object', properties: {}, required: [] } }, handler: async () => { return new Date().toISOString(); } }); //# sourceMappingURL=getCurrentTime.js.map