describeToolResult

Creates a user message containing a structured JSON representation of a tool result including its ID, tool name, and result content.

Return

A User message with a JSON-encoded representation of the tool result.

Parameters

message

The tool result message containing the tool's ID, name, and content.