| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Modifier and Type | Class and Description |
|---|---|
static class |
McpSchema.AudioContent
Audio provided to or from an LLM.
|
static class |
McpSchema.EmbeddedResource |
static class |
McpSchema.ImageContent |
static class |
McpSchema.ResourceLink
A known resource that the server is capable of reading.
|
static class |
McpSchema.TextContent |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CallToolResult.Builder |
McpSchema.CallToolResult.Builder.addContent(McpSchema.Content contentItem)
Adds a content item to the tool result.
|
McpSchema.CreateMessageResult.Builder |
McpSchema.CreateMessageResult.Builder.content(McpSchema.Content content) |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CallToolResult.Builder |
McpSchema.CallToolResult.Builder.content(List<McpSchema.Content> content)
Sets the content list for the tool result.
|
| Constructor and Description |
|---|
CreateMessageResult(McpSchema.Role role,
McpSchema.Content content,
String model,
McpSchema.CreateMessageResult.StopReason stopReason) |
| Constructor and Description |
|---|
CallToolResult(List<McpSchema.Content> content,
Boolean isError) |
CallToolResult(List<McpSchema.Content> content,
Boolean isError,
Map<String,Object> structuredContent) |
Copyright © 2025. All rights reserved.