
Explanation:

You are adding a custom plugin to a Semantic Kernel-based agent and you want function calling to be enforced and self-completing:
* To register a plugin that exposes one or more callable functions to the agent, use CreatePluginFromFunctions. This builds a plugin from Kernel functions (prompt- or code-based) and makes them available for tool/function calling by the model.
* To ensure the model must call functions (and request any required parameters it doesn't have), set the prompt execution settings to FunctionChoiceBehaviour.Required. In Semantic Kernel, this corresponds to the OpenAI tool/function-calling control that forces the assistant to invoke appropriate functions. When required parameters are marked in the function's schema, the assistant will ask follow- up questions to collect them before (or while) invoking the function.
References (Microsoft Azure AI Solution)
Semantic Kernel: Plugins and Functions, ChatCompletionAgent, OpenAIPromptExecutionSettings, and FunctionChoiceBehavior for enforced tool/function calling.