# Interface LlmRequest

LLM request class that allows passing in tools, output schema and system instructions to the model.

interface LlmRequest {
config?: GenerateContentConfig;
contents: Content[];
liveConnectConfig: LiveConnectConfig;
model?: string;
toolsDict: { [key: string]: BaseTool };
}

- Defined in models/llm_request.ts:21

## Properties

### `Optional` config

config?: GenerateContentConfig

Additional config for the generate content request. Tools in generateContentConfig should not be set directly; use appendTools.

- Defined in models/llm_request.ts:36

### contents

contents: Content[]

The contents to send to the model.

- Defined in models/llm_request.ts:30

### liveConnectConfig

liveConnectConfig: LiveConnectConfig

- Defined in models/llm_request.ts:38

### `Optional` model

model?: string

The model name.

- Defined in models/llm_request.ts:25

### toolsDict

toolsDict: { [key: string]: BaseTool }

The tools dictionary. Excluded from JSON serialization.

- Defined in models/llm_request.ts:43