# ViewToolDef

Package: `@threadplane/chat` · 0.3.4

Reference: /docs/api/chat/ViewToolDef

```typescript
import type { ViewToolDef } from '@threadplane/chat';
```

## ViewToolDef

Defines a schema-backed Angular tool view that the coordinator automatically acknowledges.

```typescript
export interface ViewToolDef<S extends StandardSchemaV1 = StandardSchemaV1, C = unknown>  {
  readonly component: Type<C>;
  readonly description: string;
  readonly followUp?: boolean;
  readonly kind: 'view';
  readonly schema: S;
}
```

### component

```typescript
readonly component: Type<C>;
```

### description

```typescript
readonly description: string;
```

### followUp

```typescript
readonly followUp?: boolean;
```

### kind

```typescript
readonly kind: 'view';
```

### schema

```typescript
readonly schema: S;
```