# FunctionCall

data class FunctionCall(val name: String = "", val args: Map<String, Any?> = emptyMap(), val id: String? = null, val partialArgs: List<PartialArg>? = null, val willContinue: Boolean? = null)

Represents a function call in a generation response.

## Constructors

FunctionCall
Link copied to clipboard
constructor(name: String = "", args: Map<String, Any?> = emptyMap(), id: String? = null, partialArgs: List<PartialArg>? = null, willContinue: Boolean? = null)

## Types

Companion
Link copied to clipboard
object Companion

## Properties

args
Link copied to clipboard
val args: Map<String, Any?>

The arguments to pass to the function.

id
Link copied to clipboard
val id: String? = null

The unique identifier for this function call.

name
Link copied to clipboard
val name: String

The name of the function to call.

partialArgs
Link copied to clipboard
val partialArgs: List<PartialArg>? = null

Partial argument fragments being streamed from the model.

willContinue
Link copied to clipboard
val willContinue: Boolean? = null

Whether more partial fragments for this function call are expected.