ToolCallOutcomes

Java-friendly view of the Kotlin Result carried by ToolCallResponseEvent, for Java consumers (e.g. the observability module) that cannot read a Kotlin inline value class directly. Lives in this Kotlin module so the read stays native — no reflection.

Functions

Link copied to clipboard

The throwable on failure, or null if the call succeeded.

Link copied to clipboard

The tool's textual result on success, or null if the call failed.