buildTools abstract method

List<McpTool> buildTools(
  1. McpToolContext ctx
)

Builds the tools contributed by this provider, given the McpToolContext (DI accessor). May return an empty list.

Implementations MUST be idempotent: building tools twice for the same context returns equivalent tool lists.

Implementation

List<McpTool> buildTools(McpToolContext ctx);