Tool

fun Tool(content: String? = null, toolCallId: ToolId): ChatMessage

Create a tool chat message.

Parameters

content

the contents of the message.

toolCallId

tool call that this message is responding to