> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MessageRole

***

# Variable: MessageRole

```ts theme={null}
MessageRole: object;
```

Defined in: [src/types/message.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/message.types.ts)

## Type declaration

### agent

```ts theme={null}
readonly agent: "agent" = 'agent';
```

### assistant

```ts theme={null}
readonly assistant: "assistant" = 'assistant';
```

### developer

```ts theme={null}
readonly developer: "developer" = 'developer';
```

### function

```ts theme={null}
readonly function: "function" = 'function';
```

### system

```ts theme={null}
readonly system: "system" = 'system';
```

### tool

```ts theme={null}
readonly tool: "tool" = 'tool';
```

### user

```ts theme={null}
readonly user: "user" = 'user';
```
