@agentica/core
Version:
Agentic AI Library specialized in LLM Function Calling
23 lines (22 loc) • 955 B
TypeScript
import type { IMcpLlmApplication } from "@samchon/openapi";
import type { IAgenticaController } from "../structures/IAgenticaController";
/**
* Create an MCP controller with type assertion.
*
* 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 sunrabbit123
*/
export declare function assertMcpController(props: {
name: string;
client: IAgenticaController.IMcp["client"];
config?: Partial<IMcpLlmApplication.IConfig>;
}): Promise<IAgenticaController.IMcp>;