Uses of Record Class
io.modelcontextprotocol.spec.McpSchema.CallToolResult
Packages that use McpSchema.CallToolResult
Package
Description
-
Uses of McpSchema.CallToolResult in io.modelcontextprotocol.client
Methods in io.modelcontextprotocol.client that return McpSchema.CallToolResultModifier and TypeMethodDescriptionMcpSyncClient.callTool(McpSchema.CallToolRequest callToolRequest) Calls a tool provided by the server.Methods in io.modelcontextprotocol.client that return types with arguments of type McpSchema.CallToolResultModifier and TypeMethodDescriptionreactor.core.publisher.Mono<McpSchema.CallToolResult>McpAsyncClient.callTool(McpSchema.CallToolRequest callToolRequest) Calls a tool provided by the server. -
Uses of McpSchema.CallToolResult in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server that return types with arguments of type McpSchema.CallToolResultModifier and TypeMethodDescriptionBiFunction<McpAsyncServerExchange,Map<String, Object>, reactor.core.publisher.Mono<McpSchema.CallToolResult>> McpServerFeatures.AsyncToolSpecification.call()Deprecated.McpServerFeatures.SyncToolSpecification.call()Deprecated.BiFunction<McpAsyncServerExchange,McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> McpServerFeatures.AsyncToolSpecification.callHandler()Returns the value of thecallHandlerrecord component.McpServerFeatures.SyncToolSpecification.callHandler()Returns the value of thecallHandlerrecord component.BiFunction<McpTransportContext,McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> McpStatelessServerFeatures.AsyncToolSpecification.callHandler()Returns the value of thecallHandlerrecord component.McpStatelessServerFeatures.SyncToolSpecification.callHandler()Returns the value of thecallHandlerrecord component.Method parameters in io.modelcontextprotocol.server with type arguments of type McpSchema.CallToolResultModifier and TypeMethodDescriptionMcpServerFeatures.AsyncToolSpecification.Builder.callHandler(BiFunction<McpAsyncServerExchange, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Sets the call tool handler function.McpServerFeatures.SyncToolSpecification.Builder.callHandler(BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult> callHandler) Sets the call tool handler function.McpStatelessServerFeatures.AsyncToolSpecification.Builder.callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Sets the call tool handler function.McpStatelessServerFeatures.SyncToolSpecification.Builder.callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult> callHandler) Sets the call tool handler function.McpServer.AsyncSpecification.tool(McpSchema.Tool tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, reactor.core.publisher.Mono<McpSchema.CallToolResult>> handler) Deprecated.McpServer.SyncSpecification.tool(McpSchema.Tool tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult> handler) Deprecated.UseMcpServer.SyncSpecification.toolCall(McpSchema.Tool, BiFunction)instead for tool calls that require a request object.McpServer.AsyncSpecification.toolCall(McpSchema.Tool tool, BiFunction<McpAsyncServerExchange, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Adds a single tool with its implementation handler to the server.McpServer.StatelessAsyncSpecification.toolCall(McpSchema.Tool tool, BiFunction<McpTransportContext, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Adds a single tool with its implementation handler to the server.McpServer.StatelessSyncSpecification.toolCall(McpSchema.Tool tool, BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult> callHandler) Adds a single tool with its implementation handler to the server.McpServer.SyncSpecification.toolCall(McpSchema.Tool tool, BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult> handler) Adds a single tool with its implementation handler to the server.Constructor parameters in io.modelcontextprotocol.server with type arguments of type McpSchema.CallToolResultModifierConstructorDescriptionAsyncToolSpecification(McpSchema.Tool tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, reactor.core.publisher.Mono<McpSchema.CallToolResult>> call) Deprecated.Use {@link AsyncToolSpecification(McpSchema.Tool, null, BiFunction)} instead.AsyncToolSpecification(McpSchema.Tool tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, reactor.core.publisher.Mono<McpSchema.CallToolResult>> call, BiFunction<McpAsyncServerExchange, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Creates an instance of aAsyncToolSpecificationrecord class.AsyncToolSpecification(McpSchema.Tool tool, BiFunction<McpTransportContext, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Creates an instance of aAsyncToolSpecificationrecord class.SyncToolSpecification(McpSchema.Tool tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult> call) Deprecated.SyncToolSpecification(McpSchema.Tool tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult> call, BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult> callHandler) Creates an instance of aSyncToolSpecificationrecord class.SyncToolSpecification(McpSchema.Tool tool, BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult> callHandler) Creates an instance of aSyncToolSpecificationrecord class. -
Uses of McpSchema.CallToolResult in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec that return McpSchema.CallToolResultModifier and TypeMethodDescriptionMcpSchema.CallToolResult.Builder.build()Builds a newMcpSchema.CallToolResultinstance.
McpServer.AsyncSpecification.toolCall(McpSchema.Tool, BiFunction)instead for tool calls that require a request object.