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 interface
Builder for a server function filter. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull AllowedServerFunction.Builder
builder()
Creates a new builder for creating aAllowedServerFunction
definition.@Nullable String
The name of the function that can be called,null
for no function restriction.@Nullable String
The name of the plugin providing a list of function servers to allow,null
for no plugin restriction.@Nullable String
The name of the server providing the function to allow,null
for no server restriction.
-
Method Details
-
builder
Creates a new builder for creating aAllowedServerFunction
definition.- Returns:
- The new builder instance.
- Since:
- 5.2.251104
-
getPluginName
The name of the plugin providing a list of function servers to allow,null
for no plugin restriction.- Returns:
- The associated plugin name.
- Since:
- 5.2.251104
-
getServerName
The name of the server providing the function to allow,null
for no server restriction.- Returns:
- The associated server name.
- Since:
- 5.2.251104
-
getFunctionName
The name of the function that can be called,null
for no function restriction.- Returns:
- The name of the function.
- Since:
- 5.2.251104
-