UNPKG

@agentica/core

Version:

Agentic AI Library specialized in LLM Function Calling

24 lines (23 loc) 1.07 kB
import type { ILlmSchema, IMcpLlmApplication, IValidation } from "@samchon/openapi"; import type { IAgenticaController } from "../structures/IAgenticaController"; /** * Create an MCP controller with type validation. * * Create an {@link IAgenticaController.IMcp} instance which represents * an MCP (Model Context Protocol) controller with LLM function calling * schemas and client connection. * * @param props Properties to create the MCP controller * @param props.name Name of the MCP implementation. * @param props.client Client connection to the MCP implementation. * @param props.model Model schema of the LLM function calling. * @param props.options Options to create the MCP controller. * @returns MCP LLM application instance * @author SunRabbit */ export declare function validateMcpController<Model extends ILlmSchema.Model>(props: { name: string; client: IAgenticaController.IMcp<Model>["client"]; model: Model; options?: Partial<IMcpLlmApplication.IOptions<Model>>; }): Promise<IValidation<IAgenticaController.IMcp<Model>>>;