Skip to content

McpResourceLink

Base classes

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

⋔ Inheritance diagram

graph TD
  73496019["system_messages.McpResourceLink"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 73496019
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

MCP resource link attached to a task notification.

Source code in src/clawd_code_sdk/models/system_messages.py
class McpResourceLink(TypedDict):
    """MCP resource link attached to a task notification."""

    uri: str
    name: str
    title: NotRequired[str]
    description: NotRequired[str]
    mimeType: NotRequired[str]
    size: NotRequired[int]
    annotations: NotRequired[dict[str, object]]

:fa-brands-github: Show source on GitHub