# FoundryToolboxResource.publishAsExisting

- 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`

Reconciles a Microsoft Foundry Toolbox during local runs and uses an existing Toolbox during deployment.

## Definition

```typescript
interface FoundryToolboxResource {
  // ... omitted for brevity
  publishAsExisting(): FoundryToolboxResource;
}
```

## Signature

```typescript
publishAsExisting(): FoundryToolboxResource
```

## Returns

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

## Defined on

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