File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -646,27 +646,6 @@ class ImageContent(BaseModel):
646646 model_config = ConfigDict (extra = "allow" )
647647
648648
649- class DataContent (BaseModel ):
650- """Structured JSON content for a message or tool result."""
651-
652- type : Literal ["data" ]
653- data : dict [str , Any ]
654- """
655- The structured JSON data. This is a JSON serializable object.
656- """
657-
658- schema_definition : dict [str , Any ] | str | None = None
659- """
660- An optional schema describing the structure of the data.
661- - Can be a string (schema reference URI),
662- - A dictionary (full schema definition),
663- - Or omitted if no schema is provided.
664- """
665-
666- annotations : Annotations | None = None
667- model_config = ConfigDict (extra = "allow" )
668-
669-
670649class SamplingMessage (BaseModel ):
671650 """Describes a message issued to or received from an LLM API."""
672651
@@ -814,7 +793,7 @@ class CallToolRequest(Request[CallToolRequestParams, Literal["tools/call"]]):
814793class CallToolResult (Result ):
815794 """The server's response to a tool call."""
816795
817- content : list [TextContent | ImageContent | DataContent | EmbeddedResource ]
796+ content : list [TextContent | ImageContent | EmbeddedResource ]
818797 isError : bool = False
819798
820799
You can’t perform that action at this time.
0 commit comments