anthropic.internal._push_tool_result

(internal) Append one tool_result block, extending the trailing group when open.

Reference version

Signature

function anthropic.internal._push_tool_result(
id: string,
content: string,
is_error: bool
) -> void throws never

(internal) Append one tool_result block, extending the trailing group when open.

Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 17931–18617