UNPKG

@hashgraphonline/standards-agent-kit

Version:

A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication. https://hol.org

8 lines (7 loc) 476 B
function isFormValidatable(tool) { return tool !== null && typeof tool === "object" && "shouldGenerateForm" in tool && "getFormSchema" in tool && "getEssentialFields" in tool && "isFieldEmpty" in tool && typeof tool.shouldGenerateForm === "function" && typeof tool.getFormSchema === "function" && typeof tool.getEssentialFields === "function" && typeof tool.isFieldEmpty === "function"; } export { isFormValidatable }; //# sourceMappingURL=standards-agent-kit.es46.js.map