Package ai.confiqure
Annotation Type Confiqure.Tool
- Enclosing class:
Confiqure
Marks a method as a tool the chat agent can invoke during a session.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionTool name.booleantrue(default): a server-side tool — confiqure dispatches an HTTP call to this controller method (returns data / performs a backend action, no UI).
-
Element Details
-
name
String nameTool name. Defaults to the method name when blank.- Default:
""
-
serverSide
boolean serverSidetrue(default): a server-side tool — confiqure dispatches an HTTP call to this controller method (returns data / performs a backend action, no UI).false: a frontend tool — this method is a contract stub whose handler runs in the host's browser via the embed SDK. The method signature still defines the I/O contract (its@RequestBodyDTO is the input, its return type the output), but the body never runs on the backend. Use for anything needing a UI (OAuth, pickers, rendering).- Default:
true
-