AIToolCall

fun AIToolCall(part: AIToolCallPart, modifier: Modifier = Modifier, textStyle: TextStyle = MaterialTheme.typography.bodyMedium, colors: AIToolCallColors = AIToolCallDefaults.colors())

One tool call: what it is doing, where it runs, and how it went.

A call waiting for someone to sign in says so in neutral words, since this view doesn't know who is looking. AIMessagePartItem, given an AIToolApprover, tells the person it waits for that it waits for them.

Parameters

part

The tool call.

modifier

The modifier to apply to the view.

textStyle

The style of the call's title. Its outcome uses a smaller style.

colors

The palette of the view.