Application schema of function calling.
Connection to the server.
Connection to the API server including the URL and headers.
OptionalexecuteExecutor of the API function.
Default executor is HttpLlm.execute function, and you can override it with your own function.
Properties of the API function call
Application schema.
Arguments of the function calling.
It is an object of key-value pairs of the API function's parameters. The property keys are composed by below rules:
Connection to the server.
Function schema.
HTTP response of the API function call
Identifier name of the controller.
Protocol discriminator.
Controller of HTTP LLM function calling.
IHttpLlmControlleris a controller for registering OpenAPI operations as LLM function calling tools. It contains IHttpLlmApplication with function calling schemas, identifier, and connection to the API server.You can create this controller with HttpLlm.controller function, and register it to MCP server with registerMcpControllers:
For TypeScript class-based controller, use ILlmController instead.
Author
Jeongho Nam - https://github.com/samchon