BackgroundAgentsProviderOptions.Instructions Property

Definition

Gets or sets custom instructions provided to the agent for using the background agent tools.

public string? Instructions { get; set; }
member this.Instructions : string with get, set
Public Property Instructions As String

Property Value

When null (the default), the provider uses built-in instructions that guide the agent on how to use the background agent tools. The agent list is always appended after the instructions regardless of this setting.

Remarks

Use the {background_agents} placeholder to allow the provider to inject the formatted list of available background agents.

Applies to