Params used to call the generateContent method.

**Signature:**

    export declare interface GenerateContentRequest extends BaseModelParams 

**Extends:** BaseModelParams

## Properties

| Property | Type | Description |
|---|---|---|
| [cachedContent](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequestcachedcontent) | string | Optional. The name of the cached content used as context to serve the prediction. This is the name of a `CachedContent` and not the cache object itself. |
| [contents](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequestcontents) | Content\[\] | Array of `Content`. |
| [generationConfig](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequestgenerationconfig) | GenerationConfig | Optional generation configuration. |
| [safetySettings](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequestsafetysettings) | SafetySetting\[\] | Optional safety settings. |
| [systemInstruction](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequestsysteminstruction) | string \| Content | Optional. The user provided system instructions for the model. Note: only text should be used in parts of `Content`. |
| [toolConfig](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequesttoolconfig) | ToolConfig | Optional tool configuration. |
| [tools](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.vertexv1beta1generatecontentrequest#aivertexv1beta1generatecontentrequesttools) | Tool\[\] | Optional tools (such as function declarations) the model can interact with to assist in generating a response. |

## ai.VertexV1Beta1GenerateContentRequest.cachedContent

Optional. The name of the cached content used as context to serve the prediction. This is the name of a `CachedContent` and not the cache object itself.

**Signature:**

    cachedContent?: string;

## ai.VertexV1Beta1GenerateContentRequest.contents

Array of `Content`.

**Signature:**

    contents: Content[];

## ai.VertexV1Beta1GenerateContentRequest.generationConfig

Optional generation configuration.

**Signature:**

    generationConfig?: GenerationConfig;

## ai.VertexV1Beta1GenerateContentRequest.safetySettings

Optional safety settings.

**Signature:**

    safetySettings?: SafetySetting[];

## ai.VertexV1Beta1GenerateContentRequest.systemInstruction

Optional. The user provided system instructions for the model. Note: only text should be used in parts of `Content`.

**Signature:**

    systemInstruction?: string | Content;

## ai.VertexV1Beta1GenerateContentRequest.toolConfig

Optional tool configuration.

**Signature:**

    toolConfig?: ToolConfig;

## ai.VertexV1Beta1GenerateContentRequest.tools

Optional tools (such as function declarations) the model can interact with to assist in generating a response.

**Signature:**

    tools?: Tool[];