Class ToolDefinition
java.lang.Object
net.thevpc.naru.model.ToolDefinition
OpenAI-compatible tool definition (Ollama uses the same format).
{
"type": "function",
"function": {
"name": "...",
"description": "...",
"parameters": {
"type": "object",
"properties": { ... },
"required": [...]
}
}
}
-
Constructor Details
-
ToolDefinition
-
-
Method Details
-
getType
-
getFunction
-
toMap
-