ResponseContextExtensions.NewCustomToolCallOutputItemId Method

Definition

Generates a new custom tool call output item ID sharing the response's partition key.

public static string NewCustomToolCallOutputItemId(this Azure.AI.AgentServer.Responses.ResponseContext context);
static member NewCustomToolCallOutputItemId : Azure.AI.AgentServer.Responses.ResponseContext -> string
<Extension()>
Public Function NewCustomToolCallOutputItemId (context As ResponseContext) As String

Parameters

context
ResponseContext

The response context.

Returns

A custom tool call output item ID in the format ctco_{partitionKey}{entropy}.

Applies to