# Role

Package: `@threadplane/angular/chat` · 0.3.7

Reference: /docs/api/angular/chat/Role

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

## Role

Identifies whether a message comes from the user, assistant, system, or a tool result.

```typescript
export type Role = 'user' | 'assistant' | 'system' | 'tool';
```