# FoundryToolboxResource.withDescription

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

Sets the description persisted with each Toolbox version.

## Definition

```typescript
interface FoundryToolboxResource {
  // ... omitted for brevity
  withDescription(description: string): FoundryToolboxResource;
}
```

## Signature

```typescript
withDescription(description: string): FoundryToolboxResource
```

## Parameters

- `description` (`string`)

## Returns

[FoundryToolboxResource](/reference/api/typescript/aspire.hosting.foundry/foundrytoolboxresource.md) `builder`

## Defined on

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