openai.internal._tool_output
(internal) A tool result's `output`: the plain string when the result is text only (one text part, or nothing), the part list otherwise.
Reference version
Signature
function openai.internal._tool_output(
parts: openai.internal.OaInputPart[]
) -> string | openai.internal.OaInputPart[]
(internal) A tool result's output: the plain string when the result is text
only (one text part, or nothing), the part list otherwise.
Source:<builtin>/openai/ns_internal/responses.bamlbytes 19558–19823