ExternalInputRequest.IExternalRequestEnvelope.GetInnerRequestContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the inner AI content that should be delivered to the host on the wire. Typically a FunctionCallContent or ToolApprovalRequestContent.
Microsoft.Extensions.AI.AIContent? IExternalRequestEnvelope.GetInnerRequestContent();
abstract member Microsoft.Agents.AI.Workflows.IExternalRequestEnvelope.GetInnerRequestContent : unit -> Microsoft.Extensions.AI.AIContent
override this.Microsoft.Agents.AI.Workflows.IExternalRequestEnvelope.GetInnerRequestContent : unit -> Microsoft.Extensions.AI.AIContent
Function GetInnerRequestContent () As AIContent Implements IExternalRequestEnvelope.GetInnerRequestContent
Returns
The inner content, or null if no suitable inner content is available.
Implements
Remarks
Prefers ToolApprovalRequestContent (when the workflow declared requireApproval: true) over FunctionCallContent so that hosts which speak the approval protocol see the approval-bearing content.