@langchain/core
Version:
Core LangChain.js abstractions and schemas
19 lines (18 loc) • 463 B
JavaScript
const require_tools_index = require("../../tools/index.cjs");
// src/utils/testing/tools.ts
var FakeTool = class extends require_tools_index.StructuredTool {
name;
description;
schema;
constructor(fields) {
super(fields);
this.name = fields.name;
this.description = fields.description;
this.schema = fields.schema;
}
async _call(arg, _runManager) {
return JSON.stringify(arg);
}
};
exports.FakeTool = FakeTool;
//# sourceMappingURL=tools.cjs.map