InvocationResult
Structured result of an invocation. Each variant maps to a specific HTTP response shape.
Text → plain text / JSON / single-event SSE depending on
Accept.Binary → raw bytes with the supplied
Content-Typeand known length.TextStream →
text/event-streamwith each chunk written as its owndata:event.BinaryStream → chunked binary with the supplied
Content-Type.