Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

FoundryToolboxMcpToolOptions Properties

ClassProperties3 members
Options for an MCP tool in a Microsoft Foundry Toolbox.
Gets or sets the declared approval policy for tools discovered from the MCP server.
public FoundryToolboxMcpApprovalPolicy? ApprovalPolicy { get; set; }
The Toolbox publishes this policy as MCP discovery metadata. Applications consuming the Toolbox remain responsible for enforcing approval before invoking a discovered tool.
ServerDescriptionSection titled ServerDescriptionnullablestring?
Gets or sets a description of the MCP server.
public string? ServerDescription { get; set; }
ServerLabelSection titled ServerLabelnullablestring?
Gets or sets the label that identifies the MCP server in the Toolbox and prefixes its discovered tool names. The Toolbox tool name is used when unset.
public string? ServerLabel { get; set; }