# AgentEvent.FunctionCall

# AgentEvent.FunctionCall


```
data class AgentEvent.FunctionCall : AgentEvent
```

<br />

*** ** * ** ***

Emitted immediately before a function is invoked by the runner.

## Summary

| ### Public constructors |
|---|
| `FunctionCall(name: String, args: Map<String, Any?>)` |

| ### Public properties |
|---|---|
| `Map<String, Any?>` | `args` The map of arguments extracted and passed to the function. |
| `String` | `name` The name of the function to be called. |

## Public constructors

### FunctionCall

```
FunctionCall(name: String, args: Map<String, Any?>)
```

## Public properties

### args

```
val args: Map<String, Any?>
```

The map of arguments extracted and passed to the function.

### name

```
val name: String
```

The name of the function to be called.