The result of a server-executed tool, streamed back into the run (SSE tool_result event).
tool_result
Optional
The tool's output, serialized as a string.
ID of the tool call this result satisfies.
Name of the tool that produced this result.
How the tool call resolved, e.g. "ok" or "error".
"ok"
"error"
The result of a server-executed tool, streamed back into the run (SSE
tool_resultevent).