ResponseContextExtensions.NewMcpListToolsItemId(ResponseContext) Method

Definition

Generates a new MCP list tools item ID sharing the response's partition key.

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

Parameters

context
ResponseContext

The response context.

Returns

An MCP list tools item ID in the format mcpl_{partitionKey}{entropy}.

Applies to