# FoundryToolboxMcpToolOptions

- Kind: `class`
- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Version: `13.6.0-preview.1.26478.8`
- Namespace: `Aspire.Hosting.Foundry`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Foundry/Toolbox/FoundryToolboxOptions.cs)

Options for an MCP tool in a Microsoft Foundry Toolbox.

## Definition

```csharp
namespace Aspire.Hosting.Foundry;

public sealed class FoundryToolboxMcpToolOptions
{
    // ...
}
```

## ATS metadata

### ATS DTO

- Serialized as a plain JSON object without a `$type` discriminator.

## Constructors

- [FoundryToolboxMcpToolOptions](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcptooloptions/constructors.md#constructor)

## Properties

- [ApprovalPolicy](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcptooloptions/properties.md#approvalpolicy) : [FoundryToolboxMcpApprovalPolicy?](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcpapprovalpolicy.md) `get; set` -- Gets or sets the declared approval policy for tools discovered from the MCP server.
- [ServerDescription](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcptooloptions/properties.md#serverdescription) : `string?` `get; set` -- Gets or sets a description of the MCP server.
- [ServerLabel](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcptooloptions/properties.md#serverlabel) : `string?` `get; set` -- 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.
