anthropic.internal._tool_result_content

(internal) A tool result's `content`: the plain string when the result is text only (one text block, or nothing), the block list otherwise.

Reference version

Signature

function anthropic.internal._tool_result_content(

(internal) A tool result's content: the plain string when the result is text only (one text block, or nothing), the block list otherwise.

Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 1733217608