Share via


AgentInvokeOptions Class

Definition

Optional parameters for agent invocation.

public class AgentInvokeOptions
type AgentInvokeOptions = class
Public Class AgentInvokeOptions
Inheritance
AgentInvokeOptions
Derived

Constructors

AgentInvokeOptions()

Initializes a new instance of the AgentInvokeOptions class.

AgentInvokeOptions(AgentInvokeOptions)

Initializes a new instance of the AgentInvokeOptions class by cloning the provided options.

Properties

AdditionalInstructions

Gets or sets any instructions, in addition to those that were provided to the agent initially, that need to be added to the prompt for this invocation only.

Kernel

Gets or sets the Kernel containing services, plugins, and other state for use by the agent

KernelArguments

Gets or sets optional arguments to pass to the agent's invocation, including any PromptExecutionSettings

OnIntermediateMessage

Gets or sets a function to be called when a complete new message is generated by the agent.

Applies to