ResponseContextExtensions.NewCustomToolCallItemId(ResponseContext) 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.
Generates a new custom tool call item ID sharing the response's partition key.
public static string NewCustomToolCallItemId(this Azure.AI.AgentServer.Responses.ResponseContext context);
static member NewCustomToolCallItemId : Azure.AI.AgentServer.Responses.ResponseContext -> string
<Extension()>
Public Function NewCustomToolCallItemId (context As ResponseContext) As String
Parameters
- context
- ResponseContext
The response context.
Returns
A custom tool call item ID in the format ctc_{partitionKey}{entropy}.