Skip to content

Missing property in Azure.AI.Agents.Persistent.SubmitToolApprovalUpdate #53001

@stephentoub

Description

@stephentoub

The type is exposing the Name and Arguments of the MCP tool call:
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/ai/Azure.AI.Agents.Persistent/src/Custom/Streaming/SubmitToolApprovalUpdate.cs
but it's not exposing the server label, such that the consumer doesn't know which server the tool call is from (there can be multiple servers that all have the same tool name).

The underlying RequiredMcpToolCall does expose this:

public string Arguments { get; }
/// <summary> The name of the function used on the MCP server. </summary>
public string Name { get; }
/// <summary> The label of the MCP server. </summary>
public string ServerLabel { get; }

but that RequiredMcpToolCall instance is private to the SubmitToolApprovalUpdate and not accessible to a consumer.

Metadata

Metadata

Assignees

Labels

AI AgentsClientThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions