// THIS FILE WAS AUTO-GENERATED
// Source: lib/templates/backends/typescriptGenerator/builtinFunctions/registerTools.mustache
// Any manual changes will be lost.
import { apply } from "typestache";
export const template = `function registerTools(tools: any[]) {
  for (const tool of tools) {
    if (__AgencyFunction.isAgencyFunction(tool)) {
      __toolRegistry[\`\${tool.module}:\${tool.name}\`] = tool;
    }
  }
}
`;
const render = (args) => {
    return apply(template, args);
};
export default render;
