Skip to content

McpResourceEntry

Base classes

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

⋔ Inheritance diagram

graph TD
  3814578623["output_types.McpResourceEntry"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3814578623
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A single MCP resource entry.

Source code in src/clawd_code_sdk/models/output_types.py
class McpResourceEntry(TypedDict):
    """A single MCP resource entry."""

    uri: str
    """Resource URI."""
    name: str
    """Resource name."""
    description: NotRequired[str]
    """Resource description."""
    mimeType: NotRequired[str]
    """Resource MIME type."""
    server: str
    """Server providing this resource."""

description instance-attribute

description: NotRequired[str]

Resource description.

mimeType instance-attribute

mimeType: NotRequired[str]

Resource MIME type.

name instance-attribute

name: str

Resource name.

server instance-attribute

server: str

Server providing this resource.

uri instance-attribute

uri: str

Resource URI.

:fa-brands-github: Show source on GitHub