Skip to content

Commit 7130b07

Browse files
committed
add deprecated message
1 parent 37e1a15 commit 7130b07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mcp/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,8 @@ class ResourceLink(Resource):
746746
ContentBlock = TextContent | ImageContent | AudioContent | ResourceLink | EmbeddedResource
747747
"""A content block that can be used in prompts and tool results."""
748748

749-
Content = ContentBlock
749+
Content: TypeAlias = ContentBlock
750+
# """DEPRECATED: Content is deprecated, you should use ContentBlock directly."""
750751

751752

752753
class PromptMessage(BaseModel):

0 commit comments

Comments
 (0)