Annotation Type ToolProperty
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface ToolProperty
Annotates a Method Parameter in aToolSpec
annotated Method. A parameter annotated with this annotation will be part of the tool description that is sent to the llm for tool-calling.
-
-
Element Detail
-
name
String name
- Returns:
- name of the parameter that is used for the tool description. Has to be set as depending on the caller, method name backtracking is not possible with reflection.
-
-
-
desc
String desc
- Returns:
- a detailed description of the parameter. This is used by the llm called to specify, which property has to be set by the llm and how this should be filled.
-
-