Class DeepSeekCompletionResponse.FunctionCall

java.lang.Object
de.entwicklertraining.deepseek4j.chat.completion.DeepSeekCompletionResponse.FunctionCall
Enclosing class:
DeepSeekCompletionResponse

public static class DeepSeekCompletionResponse.FunctionCall extends Object
Represents the function details within a tool call. [cite: 24]
  • Method Details

    • getName

      public String getName()
    • getArguments

      public String getArguments()
      The arguments as a JSON string.
    • getArgumentsAsJson

      public org.json.JSONObject getArgumentsAsJson()
      Convenience method to parse arguments into a JSONObject.
      Returns:
      Arguments as JSONObject, or an empty JSONObject if parsing fails or args are null/empty.