# FoundryToolboxMcpToolOptions

- Module: [Aspire.Hosting.Foundry](/reference/api/go/aspire.hosting.foundry.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Options for an MCP tool in a Microsoft Foundry Toolbox.

## Definition

```go
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`](/reference/api/go/aspire.hosting.foundry/foundrytoolboxmcpapprovalpolicy.md) -- Gets or sets the declared approval policy for tools discovered from the MCP server.
