UNPKG

@agentica/core

Version:

Agentic AI Library specialized in LLM Function Calling

23 lines (22 loc) 981 B
import type { 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(props: { name: string; client: IAgenticaController.IMcp["client"]; config?: Partial<IMcpLlmApplication.IConfig>; }): Promise<IValidation<IAgenticaController.IMcp>>;