Annotation Interface AgentTool
Exposes the annotated method as an agent-callable tool (e.g. for Cockroach
Aegis or any MCP client). Only
@AgentTool methods are exposed, and
destructive() tools are hidden unless the caller explicitly opts in —
least privilege by default.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionHuman-readable description surfaced in the tool listing.booleanWhether this tool mutates state; hidden unless destructive tools are allowed.
-
Element Details