Package io.openliberty.mcp.annotations
Annotation Interface Tool.Annotations
- Enclosing class:
- Tool
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf true, the tool may perform destructive updates to its environment.booleanIf true, calling the tool repeatedly with the same arguments will have no additional effect on the its environment.booleanIf true, this tool may interact with an "open world" of external entities.booleanIf true, the tool does not modify its environment.A human-readable title for the tool.
-
Element Details
-
title
String titleA human-readable title for the tool.- Default:
- ""
-
readOnlyHint
boolean readOnlyHintIf true, the tool does not modify its environment.- Default:
- false
-
destructiveHint
boolean destructiveHintIf true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates.- Default:
- true
-
idempotentHint
boolean idempotentHintIf true, calling the tool repeatedly with the same arguments will have no additional effect on the its environment.- Default:
- false
-
openWorldHint
boolean openWorldHintIf true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed.- Default:
- true
-