Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

FoundryToolboxMcpToolOptions

Struct
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2

Options for an MCP tool in a Microsoft Foundry Toolbox.

type FoundryToolboxMcpToolOptions struct {
ServerLabel *string `json:"ServerLabel"`
ServerDescription *string `json:"ServerDescription"`
ApprovalPolicy *FoundryToolboxMcpApprovalPolicy `json:"ApprovalPolicy"`
}

Fields

ServerLabel*string
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.
ServerDescription*string
Gets or sets a description of the MCP server.
ApprovalPolicy*FoundryToolboxMcpApprovalPolicy
Gets or sets the declared approval policy for tools discovered from the MCP server.