Skip to content

ReadMcpResourceContentItem

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1018518679["output_types.ReadMcpResourceContentItem"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1018518679
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A single content item from an MCP resource.

Source code in src/clawd_code_sdk/models/output_types.py
class ReadMcpResourceContentItem(TypedDict):
    """A single content item from an MCP resource."""

    uri: str
    """Resource URI."""
    mimeType: NotRequired[str]
    """Content MIME type."""
    text: NotRequired[str]
    """Text content."""

mimeType instance-attribute

mimeType: NotRequired[str]

Content MIME type.

text instance-attribute

text: NotRequired[str]

Text content.

uri instance-attribute

uri: str

Resource URI.

:fa-brands-github: Show source on GitHub