# FunctionCallPart


```
data class FunctionCallPart : Part
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.mlkit.genai.prompt.Part](https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/prompt/Part) ||
|   | ↳ | [com.google.mlkit.genai.prompt.FunctionCallPart](https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/prompt/FunctionCallPart) |

*** ** * ** ***

A data class representing a function call part of a prompt.

Used in multi-turn conversation history to represent a function/tool call predicted by the model.

## Summary

| ### Public companion functions |
|---|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/prompt/FunctionCallPart` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/prompt/FunctionCallPart#create(com.google.mlkit.genai.common.FunctionCall)(functionCall: https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/common/FunctionCall)` |

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/prompt/FunctionCallPart#FunctionCallPart(com.google.mlkit.genai.common.FunctionCall)(functionCall: https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/common/FunctionCall)` |

| ### Public properties |
|---|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/common/FunctionCall` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/prompt/FunctionCallPart#functionCall()` the function call content. |

## Public companion functions

### create

```
fun create(functionCall: FunctionCall): FunctionCallPart
```

## Public constructors

### FunctionCallPart

```
FunctionCallPart(functionCall: FunctionCall)
```

## Public properties

### functionCall

```
val functionCall: FunctionCall
```

the function call content.