-
public class AIClientToolResult.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static AIClientToolResult.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final AIClientToolResultcompleted(String outputJson, String summary)A completed call, with its result for the model. final AIClientToolResultfailed(String reason)A call the device could not run. -
-
Method Detail
-
completed
final AIClientToolResult completed(String outputJson, String summary)
A completed call, with its result for the model.
- Parameters:
outputJson- The result for the model, as JSON object text.summary- A short, shareable outcome.
-
failed
final AIClientToolResult failed(String reason)
A call the device could not run.
- Parameters:
reason- Why the device could not run the call.
-
-
-
-