describeToolCall

open override fun describeToolCall(message: Message.Tool.Call): Message(source)

Formats a tool call message into a standardized Message.Assistant response.

Return

a Message.Assistant containing the serialized JSON representation of the tool call information.

Parameters

message

the tool call message of type Message.Tool.Call containing details about the tool invocation, such as tool ID, name, and arguments.