Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- asBlob() - Method in record class org.wildfly.mcp.api.BlobResourceContents
- asBlob() - Method in interface org.wildfly.mcp.api.ResourceContents
- asBlob() - Method in record class org.wildfly.mcp.api.TextResourceContents
- asImage() - Method in interface org.wildfly.mcp.api.Content
- asImage() - Method in record class org.wildfly.mcp.api.ImageContent
- asImage() - Method in record class org.wildfly.mcp.api.ResourceContent
- asImage() - Method in record class org.wildfly.mcp.api.TextContent
- asResource() - Method in interface org.wildfly.mcp.api.Content
- asResource() - Method in record class org.wildfly.mcp.api.ImageContent
- asResource() - Method in record class org.wildfly.mcp.api.ResourceContent
- asResource() - Method in record class org.wildfly.mcp.api.TextContent
- asText() - Method in record class org.wildfly.mcp.api.BlobResourceContents
- asText() - Method in interface org.wildfly.mcp.api.Content
- asText() - Method in record class org.wildfly.mcp.api.ImageContent
- asText() - Method in record class org.wildfly.mcp.api.ResourceContent
- asText() - Method in interface org.wildfly.mcp.api.ResourceContents
- asText() - Method in record class org.wildfly.mcp.api.TextContent
- asText() - Method in record class org.wildfly.mcp.api.TextResourceContents
B
- blob() - Method in record class org.wildfly.mcp.api.BlobResourceContents
-
Returns the value of the
blobrecord component. - BLOB - Enum constant in enum class org.wildfly.mcp.api.ResourceContents.Type
- BlobResourceContents - Record Class in org.wildfly.mcp.api
- BlobResourceContents(String, String, String) - Constructor for record class org.wildfly.mcp.api.BlobResourceContents
-
Creates an instance of a
BlobResourceContentsrecord class.
C
- CompleteArg - Annotation Interface in org.wildfly.mcp.api
-
Annotates a parameter of a "complete" method, such as
CompletePrompt. - CompletePrompt - Annotation Interface in org.wildfly.mcp.api
-
Annotates a business method of a CDI bean used to complete a prompt argument
- content() - Method in record class org.wildfly.mcp.api.PromptMessage
-
Returns the value of the
contentrecord component. - content() - Method in record class org.wildfly.mcp.api.ToolResponse
-
Returns the value of the
contentrecord component. - Content - Interface in org.wildfly.mcp.api
- Content.Type - Enum Class in org.wildfly.mcp.api
- ContentMapper - Class in org.wildfly.mcp.api
- ContentMapper() - Constructor for class org.wildfly.mcp.api.ContentMapper
- create(String, byte[]) - Static method in record class org.wildfly.mcp.api.BlobResourceContents
- create(String, String) - Static method in record class org.wildfly.mcp.api.BlobResourceContents
- create(String, String) - Static method in record class org.wildfly.mcp.api.TextResourceContents
D
- data() - Method in record class org.wildfly.mcp.api.ImageContent
-
Returns the value of the
datarecord component. - description() - Element in annotation interface org.wildfly.mcp.api.Prompt
-
An optional description.
- description() - Element in annotation interface org.wildfly.mcp.api.PromptArg
- description() - Element in annotation interface org.wildfly.mcp.api.Resource
-
"A description of what this resource represents."
- description() - Element in annotation interface org.wildfly.mcp.api.ResourceArg
- description() - Element in annotation interface org.wildfly.mcp.api.Tool
-
An optional description.
- description() - Element in annotation interface org.wildfly.mcp.api.ToolArg
E
- ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.CompleteArg
-
Constant value for
CompleteArg.name()indicating that the annotated element's name should be used as-is. - ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.Prompt
-
Constant value for
Prompt.name()indicating that the annotated element's name should be used as-is. - ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.PromptArg
-
Constant value for
PromptArg.name()indicating that the annotated element's name should be used as-is. - ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.Resource
-
Constant value for
Resource.name()indicating that the annotated element's name should be used as-is. - ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.ResourceArg
-
Constant value for
ResourceArg.name()indicating that the annotated element's name should be used as-is. - ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.Tool
-
Constant value for
Tool.name()indicating that the annotated element's name should be used as-is. - ELEMENT_NAME - Static variable in annotation interface org.wildfly.mcp.api.ToolArg
-
Constant value for
ToolArg.name()indicating that the annotated element's name should be used as-is. - equals(Object) - Method in record class org.wildfly.mcp.api.BlobResourceContents
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.wildfly.mcp.api.ImageContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.wildfly.mcp.api.PromptMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.wildfly.mcp.api.ResourceContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.wildfly.mcp.api.TextContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.wildfly.mcp.api.TextResourceContents
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.wildfly.mcp.api.ToolResponse
-
Indicates whether some other object is "equal to" this one.
- error(String) - Static method in record class org.wildfly.mcp.api.ToolResponse
G
H
- hashCode() - Method in record class org.wildfly.mcp.api.BlobResourceContents
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.wildfly.mcp.api.ImageContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.wildfly.mcp.api.PromptMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.wildfly.mcp.api.ResourceContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.wildfly.mcp.api.TextContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.wildfly.mcp.api.TextResourceContents
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.wildfly.mcp.api.ToolResponse
-
Returns a hash code value for this object.
I
- IMAGE - Enum constant in enum class org.wildfly.mcp.api.Content.Type
- ImageContent - Record Class in org.wildfly.mcp.api
- ImageContent(String, String) - Constructor for record class org.wildfly.mcp.api.ImageContent
-
Creates an instance of a
ImageContentrecord class. - isError() - Method in record class org.wildfly.mcp.api.ToolResponse
-
Returns the value of the
isErrorrecord component.
M
- mimeType() - Method in record class org.wildfly.mcp.api.BlobResourceContents
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class org.wildfly.mcp.api.ImageContent
-
Returns the value of the
mimeTyperecord component. - mimeType() - Element in annotation interface org.wildfly.mcp.api.Resource
-
"The MIME type of this resource, if known."
- mimeType() - Method in record class org.wildfly.mcp.api.ResourceContent
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class org.wildfly.mcp.api.TextResourceContents
-
Returns the value of the
mimeTyperecord component.
N
- name() - Element in annotation interface org.wildfly.mcp.api.CompleteArg
- name() - Element in annotation interface org.wildfly.mcp.api.Prompt
-
Each prompt must have a unique name.
- name() - Element in annotation interface org.wildfly.mcp.api.PromptArg
- name() - Element in annotation interface org.wildfly.mcp.api.Resource
-
"A human-readable name for this resource."
- name() - Element in annotation interface org.wildfly.mcp.api.ResourceArg
- name() - Element in annotation interface org.wildfly.mcp.api.Tool
-
Each tool must have a unique name.
- name() - Element in annotation interface org.wildfly.mcp.api.ToolArg
O
- org.wildfly.mcp.api - package org.wildfly.mcp.api
P
- processResultAsPromptMessage(Object) - Static method in class org.wildfly.mcp.api.ContentMapper
- processResultAsResourceText(String, Object) - Static method in class org.wildfly.mcp.api.ContentMapper
- processResultAsText(Object) - Static method in class org.wildfly.mcp.api.ContentMapper
- Prompt - Annotation Interface in org.wildfly.mcp.api
-
Annotates a business method of a CDI bean as an exposed prompt template.
- PromptArg - Annotation Interface in org.wildfly.mcp.api
-
Annotates a parameter of a
Promptmethod. - PromptMessage - Record Class in org.wildfly.mcp.api
- PromptMessage(String, Content) - Constructor for record class org.wildfly.mcp.api.PromptMessage
-
Creates an instance of a
PromptMessagerecord class.
R
- required() - Element in annotation interface org.wildfly.mcp.api.PromptArg
- required() - Element in annotation interface org.wildfly.mcp.api.ResourceArg
- required() - Element in annotation interface org.wildfly.mcp.api.ToolArg
- Resource - Annotation Interface in org.wildfly.mcp.api
-
Annotates a business method of a CDI bean as an exposed resource.
- RESOURCE - Enum constant in enum class org.wildfly.mcp.api.Content.Type
- ResourceArg - Annotation Interface in org.wildfly.mcp.api
-
Annotates a parameter of a
Toolmethod. - ResourceContent - Record Class in org.wildfly.mcp.api
- ResourceContent(String, String, String) - Constructor for record class org.wildfly.mcp.api.ResourceContent
-
Creates an instance of a
ResourceContentrecord class. - ResourceContents - Interface in org.wildfly.mcp.api
- ResourceContents.Type - Enum Class in org.wildfly.mcp.api
- role() - Method in record class org.wildfly.mcp.api.PromptMessage
-
Returns the value of the
rolerecord component.
S
- success(C...) - Static method in record class org.wildfly.mcp.api.ToolResponse
- success(String) - Static method in record class org.wildfly.mcp.api.ToolResponse
- success(List) - Static method in record class org.wildfly.mcp.api.ToolResponse
T
- text() - Method in record class org.wildfly.mcp.api.ResourceContent
-
Returns the value of the
textrecord component. - text() - Method in record class org.wildfly.mcp.api.TextContent
-
Returns the value of the
textrecord component. - text() - Method in record class org.wildfly.mcp.api.TextResourceContents
-
Returns the value of the
textrecord component. - TEXT - Enum constant in enum class org.wildfly.mcp.api.Content.Type
- TEXT - Enum constant in enum class org.wildfly.mcp.api.ResourceContents.Type
- TextContent - Record Class in org.wildfly.mcp.api
- TextContent(String) - Constructor for record class org.wildfly.mcp.api.TextContent
-
Creates an instance of a
TextContentrecord class. - TextResourceContents - Record Class in org.wildfly.mcp.api
- TextResourceContents(String, String, String) - Constructor for record class org.wildfly.mcp.api.TextResourceContents
-
Creates an instance of a
TextResourceContentsrecord class. - Tool - Annotation Interface in org.wildfly.mcp.api
-
Annotates a business method of a CDI bean as an exposed tool.
- ToolArg - Annotation Interface in org.wildfly.mcp.api
-
Annotates a parameter of a
Toolmethod. - ToolResponse - Record Class in org.wildfly.mcp.api
- ToolResponse(boolean, List) - Constructor for record class org.wildfly.mcp.api.ToolResponse
-
Creates an instance of a
ToolResponserecord class. - toString() - Method in record class org.wildfly.mcp.api.BlobResourceContents
-
Returns a string representation of this record class.
- toString() - Method in record class org.wildfly.mcp.api.ImageContent
-
Returns a string representation of this record class.
- toString() - Method in record class org.wildfly.mcp.api.PromptMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.wildfly.mcp.api.ResourceContent
-
Returns a string representation of this record class.
- toString() - Method in record class org.wildfly.mcp.api.TextContent
-
Returns a string representation of this record class.
- toString() - Method in record class org.wildfly.mcp.api.TextResourceContents
-
Returns a string representation of this record class.
- toString() - Method in record class org.wildfly.mcp.api.ToolResponse
-
Returns a string representation of this record class.
- type() - Method in record class org.wildfly.mcp.api.BlobResourceContents
- type() - Method in interface org.wildfly.mcp.api.Content
- type() - Method in record class org.wildfly.mcp.api.ImageContent
- type() - Method in record class org.wildfly.mcp.api.ResourceContent
- type() - Method in interface org.wildfly.mcp.api.ResourceContents
- type() - Method in record class org.wildfly.mcp.api.TextContent
- type() - Method in record class org.wildfly.mcp.api.TextResourceContents
U
- uri() - Method in record class org.wildfly.mcp.api.BlobResourceContents
-
Returns the value of the
urirecord component. - uri() - Element in annotation interface org.wildfly.mcp.api.Resource
-
"The URI of this resource."
- uri() - Method in record class org.wildfly.mcp.api.ResourceContent
-
Returns the value of the
urirecord component. - uri() - Method in record class org.wildfly.mcp.api.TextResourceContents
-
Returns the value of the
urirecord component.
V
- value() - Element in annotation interface org.wildfly.mcp.api.CompletePrompt
-
The name reference to a prompt.
- valueOf(String) - Static method in enum class org.wildfly.mcp.api.Content.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.wildfly.mcp.api.ResourceContents.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.wildfly.mcp.api.Content.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.wildfly.mcp.api.ResourceContents.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withUserRole(Content) - Static method in record class org.wildfly.mcp.api.PromptMessage
All Classes and Interfaces|All Packages|Constant Field Values