Uses of Record Class
io.modelcontextprotocol.spec.McpSchema.Tool
Packages that use McpSchema.Tool
Package
Description
-
Uses of McpSchema.Tool in io.modelcontextprotocol.client
Method parameters in io.modelcontextprotocol.client with type arguments of type McpSchema.ToolModifier and TypeMethodDescriptionMcpClient.AsyncSpec.toolsChangeConsumer(Function<List<McpSchema.Tool>, reactor.core.publisher.Mono<Void>> toolsChangeConsumer) Adds a consumer to be notified when the available tools change.McpClient.SyncSpec.toolsChangeConsumer(Consumer<List<McpSchema.Tool>> toolsChangeConsumer) Adds a consumer to be notified when the available tools change. -
Uses of McpSchema.Tool in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server that return McpSchema.ToolModifier and TypeMethodDescriptionMcpServerFeatures.AsyncToolSpecification.tool()Returns the value of thetoolrecord component.McpServerFeatures.SyncToolSpecification.tool()Returns the value of thetoolrecord component.Methods in io.modelcontextprotocol.server with parameters of type McpSchema.ToolModifier and TypeMethodDescriptionMcpServer.AsyncSpecification.tool(McpSchema.Tool tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, reactor.core.publisher.Mono<McpSchema.CallToolResult>> handler) Adds a single tool with its implementation handler to the server.McpServer.SyncSpecification.tool(McpSchema.Tool tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult> handler) Adds a single tool with its implementation handler to the server.Constructors in io.modelcontextprotocol.server with parameters of type McpSchema.ToolModifierConstructorDescriptionAsyncToolSpecification(McpSchema.Tool tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, reactor.core.publisher.Mono<McpSchema.CallToolResult>> call) Creates an instance of aAsyncToolSpecificationrecord class.SyncToolSpecification(McpSchema.Tool tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult> call) Creates an instance of aSyncToolSpecificationrecord class. -
Uses of McpSchema.Tool in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec that return types with arguments of type McpSchema.ToolModifier and TypeMethodDescriptionMcpSchema.ListToolsResult.tools()Returns the value of thetoolsrecord component.Constructor parameters in io.modelcontextprotocol.spec with type arguments of type McpSchema.ToolModifierConstructorDescriptionListToolsResult(List<McpSchema.Tool> tools, String nextCursor) Creates an instance of aListToolsResultrecord class.