Package de.espirit.firstspirit.ai.dto
Interface AllowedServerFunction
- All Superinterfaces:
AllowedTool
Definition of a function allowed to be called.
- Since:
- 5.2.251104
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for a server function filter. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull AllowedServerFunction.Builderbuilder()Creates a new builder for creating aAllowedServerFunctiondefinition.@Nullable StringThe name of the function that can be called,nullfor no function restriction.@Nullable StringThe name of the plugin providing a list of function servers to allow,nullfor no plugin restriction.@Nullable StringThe name of the server providing the function to allow,nullfor no server restriction.
-
Method Details
-
builder
Creates a new builder for creating aAllowedServerFunctiondefinition.- Returns:
- The new builder instance.
- Since:
- 5.2.251104
-
getPluginName
The name of the plugin providing a list of function servers to allow,nullfor no plugin restriction.- Returns:
- The associated plugin name.
- Since:
- 5.2.251104
-
getServerName
The name of the server providing the function to allow,nullfor no server restriction.- Returns:
- The associated server name.
- Since:
- 5.2.251104
-
getFunctionName
The name of the function that can be called,nullfor no function restriction.- Returns:
- The name of the function.
- Since:
- 5.2.251104
-