agentle.mcp.resources.resource_contentΒΆ

Resource Content Module for MCP.

This module defines the ResourceContent class which represents the content of a resource in the Model Control Protocol (MCP) system. It provides a structure for representing both text and binary data resources with their associated metadata.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

Base64Str

Alias for pydantic.Base64Str.

BaseModel()

Alias for pydantic.BaseModel.

ResourceContent(*, uri[, mimeType, text, blob])

Represents the content of a resource in the MCP system.