UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and

25 lines (24 loc) 685 B
/** * Type definitions for NeuroLink tool system, including parameter schemas, * argument patterns, execution metadata, context, and result types. */ /** * Type guard for tool result */ export function isToolResult(value) { return (typeof value === "object" && value !== null && "success" in value && typeof value.success === "boolean"); } /** * Type guard for tool definition */ export function isToolDefinition(value) { return (typeof value === "object" && value !== null && "description" in value && "execute" in value && typeof value.description === "string" && typeof value.execute === "function"); }