public static class McpSchema.ServerCapabilities
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
McpSchema.ServerCapabilities.Builder |
static class |
McpSchema.ServerCapabilities.CompletionCapabilities
Present if the server supports argument autocompletion suggestions.
|
static class |
McpSchema.ServerCapabilities.LoggingCapabilities
Present if the server supports sending log messages to the client.
|
static class |
McpSchema.ServerCapabilities.PromptCapabilities
Present if the server offers any prompt templates.
|
static class |
McpSchema.ServerCapabilities.ResourceCapabilities
Present if the server offers any resources to read.
|
static class |
McpSchema.ServerCapabilities.ToolCapabilities
Present if the server offers any tools to call.
|
| 构造器和说明 |
|---|
ServerCapabilities(McpSchema.ServerCapabilities.CompletionCapabilities completions,
java.util.Map<java.lang.String,java.lang.Object> experimental,
McpSchema.ServerCapabilities.LoggingCapabilities logging,
McpSchema.ServerCapabilities.PromptCapabilities prompts,
McpSchema.ServerCapabilities.ResourceCapabilities resources,
McpSchema.ServerCapabilities.ToolCapabilities tools) |
| 限定符和类型 | 方法和说明 |
|---|---|
static McpSchema.ServerCapabilities.Builder |
builder() |
McpSchema.ServerCapabilities.CompletionCapabilities |
completions() |
java.util.Map<java.lang.String,java.lang.Object> |
experimental() |
McpSchema.ServerCapabilities.LoggingCapabilities |
logging() |
McpSchema.ServerCapabilities.Builder |
mutate()
Create a mutated copy of this object with the specified changes.
|
McpSchema.ServerCapabilities.PromptCapabilities |
prompts() |
McpSchema.ServerCapabilities.ResourceCapabilities |
resources() |
McpSchema.ServerCapabilities.ToolCapabilities |
tools() |
public ServerCapabilities(McpSchema.ServerCapabilities.CompletionCapabilities completions, java.util.Map<java.lang.String,java.lang.Object> experimental, McpSchema.ServerCapabilities.LoggingCapabilities logging, McpSchema.ServerCapabilities.PromptCapabilities prompts, McpSchema.ServerCapabilities.ResourceCapabilities resources, McpSchema.ServerCapabilities.ToolCapabilities tools)
completions - Present if the server supports argument autocompletion
suggestionsexperimental - Experimental, non-standard capabilities that the server
supportslogging - Present if the server supports sending log messages to the clientprompts - Present if the server offers any prompt templatesresources - Present if the server offers any resources to readtools - Present if the server offers any tools to callpublic McpSchema.ServerCapabilities.CompletionCapabilities completions()
public java.util.Map<java.lang.String,java.lang.Object> experimental()
public McpSchema.ServerCapabilities.LoggingCapabilities logging()
public McpSchema.ServerCapabilities.PromptCapabilities prompts()
public McpSchema.ServerCapabilities.ResourceCapabilities resources()
public McpSchema.ServerCapabilities.ToolCapabilities tools()
public McpSchema.ServerCapabilities.Builder mutate()
public static McpSchema.ServerCapabilities.Builder builder()