@agentek/tools
Version:
Blockchain tools for AI agents
15 lines • 416 B
JavaScript
import { createToolCollection } from "../client.js";
import { createMatchSwapTool } from "./intents.js";
/**
* Export an array of tools for Matcha-based swaps.
*/
export function swapTools({ zeroxApiKey, }) {
const tools = [];
if (zeroxApiKey) {
tools.push(createMatchSwapTool({
zeroxApiKey,
}));
}
return createToolCollection(tools);
}
//# sourceMappingURL=index.js.map