Uses of Interface
dev.tachyonmcp.api.server.features.tools.ToolDescriptor.Builder
Packages that use ToolDescriptor.Builder
Package
Description
Tool feature types and handler interfaces.
-
Uses of ToolDescriptor.Builder in dev.tachyonmcp.api.server.features.tools
Methods in dev.tachyonmcp.api.server.features.tools that return ToolDescriptor.BuilderModifier and TypeMethodDescriptionToolDescriptor.Builder.annotations(@Nullable ToolAnnotations annotations) Sets the optional behavioral annotations (e.g. read-only, destructive) for this tool.static ToolDescriptor.BuilderToolDescriptor.builder()Creates a new builder forToolDescriptor.ToolDescriptor.Builder.description(@Nullable String description) Sets the optional description of this tool.ToolDescriptor.Builder.extensionId(@Nullable String extensionId) Sets the optional identifier of the extension that owns this tool.default ToolDescriptor.BuilderSets the optional icons for this tool.Sets the optional icons for this tool.ToolDescriptor.Builder.inputSchema(@Nullable JsonSchema inputSchema) Sets the optional JSON schema describing the tool's input arguments.default ToolDescriptor.BuilderToolDescriptor.Builder.inputSchema(@Nullable String inputSchema) Sets the optional JSON schema describing the tool's input arguments, parsed from a string.Sets optional protocol extension metadata.Sets the tool name, unique within the server.ToolDescriptor.Builder.outputSchema(@Nullable JsonSchema outputSchema) Sets the optional JSON schema describing the tool's output.default ToolDescriptor.BuilderToolDescriptor.Builder.outputSchema(@Nullable String outputSchema) Sets the optional JSON schema describing the tool's output, parsed from a string.ToolDescriptor.Builder.taskSupport(@Nullable TaskSupport taskSupport) Sets the optional declaration of this tool's support for long-running tasks.Sets the optional human-readable title.Method parameters in dev.tachyonmcp.api.server.features.tools with type arguments of type ToolDescriptor.BuilderModifier and TypeMethodDescriptiondefault ToolsTools.register(Consumer<ToolDescriptor.Builder> configurer, ToolFn fn) Builds and registers a tool descriptor with a synchronous function.default ToolsTools.registerAsync(Consumer<ToolDescriptor.Builder> configurer, AsyncToolFn fn) Builds and registers a tool descriptor with an asynchronous function.