Package com.google.genkit.plugins.mcp
Class MCPResource
java.lang.Object
com.google.genkit.plugins.mcp.MCPResource
Represents an MCP resource.
Resources in MCP are data sources that can be read by clients. They have a URI, name, optional description, and MIME type.
-
Constructor Summary
ConstructorsConstructorDescriptionMCPResource(String uri, String name, String description, String mimeType) Creates a new MCP resource. -
Method Summary
-
Constructor Details
-
MCPResource
Creates a new MCP resource.- Parameters:
uri- the resource URIname- the resource namedescription- the resource descriptionmimeType- the MIME type
-
-
Method Details