Class DeepSeekToolDefinition
java.lang.Object
de.entwicklertraining.deepseek4j.DeepSeekToolDefinition
Represents a function-like tool definition in DeepSeek,
with a name, description, parameters (JSON schema),
and a callback that is executed when the model calls this tool.
-
Method Details
-
name
-
description
-
parameters
public org.json.JSONObject parameters() -
callback
-
toJson
public org.json.JSONObject toJson()Produces the JSON structure needed by the DeepSeek API to describe this tool as a "function". -
builder
-