@agentek/tools
Version:
Blockchain tools for AI agents
15 lines • 537 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.coindeskTools = coindeskTools;
const client_js_1 = require("../client.js");
const tools_js_1 = require("./tools.js");
function coindeskTools({ coindeskApiKey, }) {
if (!coindeskApiKey) {
throw new Error("Coindesk API key is required for using these tools.");
}
return (0, client_js_1.createToolCollection)([
// tools
(0, tools_js_1.createCoindeskNewsTool)(coindeskApiKey),
]);
}
//# sourceMappingURL=index.js.map