org.llm4s.mcp.MCPContent
See theMCPContent companion object
case class MCPContent(`type`: String, text: Option[String], resource: Option[ResourceReference], annotations: Option[Value])
Enhanced content item within a tool response (PR #371 - Structured Tool Output). Supports text, resource links, and structured annotations.
Value parameters
- `type`
-
Content type: "text", "resource", "image", etc.
- annotations
-
Optional structured metadata
- resource
-
Resource reference (for resource type)
- text
-
The actual content text (for text type)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article