| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.spec | |
| org.noear.solon.ai.mcp.client |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CallToolResult |
McpSyncClient.callTool(McpSchema.CallToolRequest callToolRequest)
Calls a tool provided by the server.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<McpSchema.CallToolResult> |
McpAsyncClient.callTool(McpSchema.CallToolRequest callToolRequest)
Calls a tool provided by the server.
|
| Constructor and Description |
|---|
AsyncToolSpecification(McpSchema.Tool tool,
BiFunction<McpAsyncServerExchange,Map<String,Object>,reactor.core.publisher.Mono<McpSchema.CallToolResult>> call)
Deprecated.
Use
AsyncToolSpecification(McpSchema.Tool, null,
BiFunction) instead. |
SyncToolSpecification(McpSchema.Tool tool,
BiFunction<McpSyncServerExchange,Map<String,Object>,McpSchema.CallToolResult> call)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CallToolResult |
McpSchema.CallToolResult.Builder.build()
Builds a new
McpSchema.CallToolResult instance. |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CallToolResult |
McpClientProvider.callTool(String name,
Map<String,Object> args)
调用工具
|
Copyright © 2025. All rights reserved.