modelFunctionCall

fun modelFunctionCall(name: String, args: Map<String, Any?> = emptyMap(), id: String? = null): Content

A model-role Content carrying a single FunctionCall.

Use it where a call goes straight into an event or into request history; use modelFunctionCallResponse where it goes into an LlmResponse.