Class McpToolAnnotations
java.lang.Object
com.soklet.McpToolAnnotations
Immutable MCP client hints describing a tool's behavior.
Hints are advisory and must never be used as authorization or safety
controls. Each boolean preserves the difference between an omitted hint and
an explicitly supplied false value.
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable builder for immutableMcpToolAnnotations. -
Method Summary
-
Method Details
-
builder
- Returns:
- an empty tool-annotation builder
-
getTitle
-
getReadOnlyHint
- Returns:
- read-only hint, preserving omission
-
getDestructiveHint
- Returns:
- destructive hint, preserving omission
-
getIdempotentHint
- Returns:
- idempotent hint, preserving omission
-
getOpenWorldHint
- Returns:
- open-world interaction hint, preserving omission
-
equals
-
hashCode
-