# FoundryToolboxResource.WithDescription

- Module: [Aspire.Hosting.Foundry](/reference/api/go/aspire.hosting.foundry.md)
- Defined on: [FoundryToolboxResource](/reference/api/go/aspire.hosting.foundry/foundrytoolboxresource.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Sets the description persisted with each Toolbox version.

## Definition

```go
type FoundryToolboxResource interface {
    // ... omitted for brevity
    WithDescription(description string) FoundryToolboxResource
}
```

## Signature

```go
WithDescription(description string) FoundryToolboxResource
```

## Parameters

- `description` (`string`) -- The Toolbox description.

## Returns

[`FoundryToolboxResource`](/reference/api/go/aspire.hosting.foundry/foundrytoolboxresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [FoundryToolboxResource](/reference/api/go/aspire.hosting.foundry/foundrytoolboxresource.md) -- `handle`
